See www.zabbix.com for the official Zabbix site.
Add the fifth parameter to the key "proc.mem" - <type of memory>
Status: Initial draft, do not comment
Owner: Andris Mednis
proc.mem item collects data only about one fixed process memory type (usually a process virtual size, but it depends on platform).
Some users have proposed to change the memory type from the virtual size to the resident size as a more useful metric.
Support for selecting different types of process memory (e.g. virtual size, resident size, code. data, stack segment size) should be added to
- Add the 5th parameter "memtype" to
- Initially this change should be implemented in Zabbix agent on AIX, FreeBSD, Linux, Solaris platforms. Other platforms can be added later as necessary.
- Use only data available to unprivileged user processes. Process memory data available only to owner of the process or privileged users (e.g. shared memory) are out of the scope.
- Preserve current, fixed memory types provided by
proc.memas default types.
- On Linux - support all types of memory, available in /proc/<pid>/status files.
- On AIX, FreeBSD, Solaris - try to support different types of memory (depends on what is available from operating system process table).
- No API changes required.
Pop-up help window for selecting Standard items should be modified:
proc.memshould include the new 'memtype' parameter,
Namecolumn should include a short 'memtype' description.
Memory used by a process. <name> process name (default: "all processes"). <user> user name (default: "all users"). <mode> possible values: avg, max, min, sum (default). <cmdline> filter by command line (supports regex). <memtype> type of process memory (supported on some platforms, see documentation). Example: proc.mem[,root].
- No database changes required.
- Zabbix Manual