Docs » Integrations Guide » Integrations Reference » vmem

image0 vmem

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

DESCRIPTION

From collectdwiki:

The vmem plugin collects information about the virtual memory subsystem of the kernel. Per default, information such as page-faults, page-in and page-out to and from memory and swap, and the total number of pages are collected. When verbose statistics are enabled, all page actions (allocations, refills, steals, ) are collected per zone (DMA, DMA32, ).

REQUIREMENTS AND DEPENDENCIES

This plugin requires:

Software Version
collectd 4.4+

INSTALLATION

If you are using the new Smart Agent, see the docs for the collectd/vmemmonitor 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

Configuration for this plugin is kept in the main collectd.conf file.

From the collectdwiki:

The vmem plugin collects information about the usage of virtual memory. Since the statistics provided by the Linux kernel are very detailed, they are collected very detailed. However, to get all the details, you have to switch them on manually. Most people just want an overview over, such as the number of pages read from swap space.
Configuration Option Type Definition
Verbose true/false Enables verbose collection of information. This will start collecting page “actions”, e. g. page allocations, (de)activations, steals and so on. Part of these statistics are collected on a “per zone” basis.

METRICS

Below is a list of all metrics.

Metric Name Brief Type
vmpage_faults.majflt Number of major page faults on the system Cumulative Counter
vmpage_faults.minflt Number of minor page faults on the system Cumulative Counter
vmpage_io.memory.in Page Ins for Memory Cumulative Counter
vmpage_io.memory.out Page Outs for Memory Cumulative Counter
vmpage_io.swap.in Page Ins for Swap Cumulative Counter
vmpage_io.swap.out Page Outs for Swap Cumulative Counter
vmpage_number.free_pages Number of free memory pages Cumulative Counter
vmpage_number.mapped Number of mapped pages Cumulative Counter

vmpage_faults.majflt

Cumulative Counter

The number of major page faults on the system. A major page fault requires loading a memory page from disk.

vmpage_faults.minflt

Cumulative Counter

The number of minor page faults on the system. Minor page faults do not require loading a memory page from disk.

vmpage_io.memory.in

Cumulative Counter

The number of pages loaded into memory from the backing store.

vmpage_io.memory.out

Cumulative Counter

The number of pages written into the backing store from memory.

vmpage_io.swap.in

Cumulative Counter

Number of pages read from backing store when entire process memory was swapped into memory

vmpage_io.swap.out

Cumulative Counter

Number of pages written to backing store when entire process memory was swapped from memory

vmpage_number.free_pages

Cumulative Counter

Number of free memory pages.

vmpage_number.mapped

Cumulative Counter

The total number of ‘used’ pages, both in-memory and swapped out to disk storage.