Docs » Integrations Guide » Integrations Reference » Memory

image0 Memory

Metadata associated with the Memory collectd plugin can be found here. The relevant code for the plugin can be found here.

DESCRIPTION

From collectdwiki:

The Memory plugin collects physical memory utilization.
The values are reported by their use by the operating system. Under Linux, the categories are:
  • Used
  • Buffered
  • Cached
  • Free

Free memory is memory you paid for, that’s using power and that doesn’t do anything useful. It is normal that the operating system puts that memory to use, for example by caching files it has accessed (reported as Cached under Linux).

Virtual memory statistics can be collected with the vmem plugin under Linux.

REQUIREMENTS AND DEPENDENCIES

This plugin requires:

Software Version
collectd 1.0+

INSTALLATION

If you are using the new Smart Agent, see the docs for thecollectd/memorymonitor for more information. The configuration documentation below may be helpful as well, but consult the Smart Agent repo’s docs for the exact schema.

Installation and initial configuration options are available as part of the SignalFx collectdagent.

CONFIGURATION

No configuration is required for this plugin.

METRICS

Below is a list of all metrics.

Metric Name Brief Type
memory.buffered Bytes of memory used for buffering I/O gauge
memory.cached Bytes of memory used for disk caching gauge
memory.free Bytes of memory available for use gauge
memory.slab_recl Bytes of memory, used for SLAB-allocation of kernel objects, that can be reclaimed. gauge
memory.slab_unrecl Bytes of memory, used for SLAB-allocation of kernel objects, that can’t be reclaimed gauge
memory.used Bytes of memory in use by the system. gauge

memory.buffered

gauge

Amount of memory used for I/O buffers, in bytes.

memory.cached

gauge

Amount of memory used for disk caching, in bytes.

memory.free

gauge

Amount of memory that can be immediately used, in bytes. Includes unused memory and reclaimable memory.

memory.slab_recl

gauge

Bytes of memory that are currently in use by the kernel for SLAB-allocation and can be reclaimed.

memory.slab_unrecl

gauge

Bytes of memory that are currently used by the kernel for SLAB-allocation and can’t be reclaimed.

memory.used

gauge

The amount of memory consumed by processes and the system, in bytes.