Difference between revisions of "Plugin:Memory"

From collectd Wiki
Jump to: navigation, search
m (Undo revision 2402 by 188.158.110.207 (Talk))
(Description: Explain the Linux metric a bit more.)
Line 11: Line 11:
 
== Description ==
 
== Description ==
  
Collects physical memory utilization.
+
The '''Memory plugin''' collects physical memory utilization.
  
Virtual memory statistics can be collected with the [[Plugin:vmem|vmem]] plugin under Linux.
+
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 {{Plugin|vmem}} under Linux.
  
 
== Example graph ==
 
== Example graph ==

Revision as of 11:13, 26 June 2010

Memory plugin
Type: read
Callbacks: init, read
Status: supported
First version: 1.0
Copyright: 2005–2008 Florian octo Forster
2009 Manuel Sanmartin
License: GPLv2
Manpage: n/a
List of Plugins

Description

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.

Example graph

Plugin-memory.png

Dependencies

  • Linux
    • /proc-file system
  • Solaris
    • libkstat(3KSTAT)
  • AIX
    • libperfstat(3)