This page applies to an earlier version of the AppDynamics App IQ Platform.
For documentation on the latest version, see the 4.4 Documentation.


Include Memory in an I/O Buffer or Cache in the Free Memory Metric

If you have configured the Standalone Machine Agent to use an OS-specific hardware monitor, as described in Limit Disk Backup Metrics Collection,  instead of the Java Hardware Monitor, which is SIGAR-API based, the agent reports memory as free if the memory is not used by any process and isn't in an I/O buffer or cache. It is more useful for the free memory metric to also include memory that is in an I/O buffer or cache but can be available for new processes.

To report the memory as free if the memory is in an I/O buffer or cache but can be made available to new processes:

  1. Open <machine_agent_home>/monitors/HardwareMonitor/config.sh.
  2. Set REPORT_MEMORY_FREE_AS_MEMORY_AVAILABLE to 1.
  3. Restart the agent. 

By default, REPORT_MEMORY_FREE_AS_MEMORY_AVAILABLE is set to 0 and the agent, using the OS-specific hardware monitor, reports memory as free if the memory is not used by any process and isn't in an I/O buffer or cache.

Customers using the newer SIGAR metric reporting implemented by the Java Hardware Monitor are unaffected by this setting.

  • No labels