Zabbix Documentation 3.4

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


manual:appendix:items:proc_mem_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
manual:appendix:items:proc_mem_notes [2014/11/20 09:37]
martins-v formatting changes
manual:appendix:items:proc_mem_notes [2016/09/28 07:26] (current)
Line 12: Line 12:
  
 ^ Supported value ^ Description ^ Source in procentry64 structure ^ Tries to be compatible with ^ ^ Supported value ^ Description ^ Source in procentry64 structure ^ Tries to be compatible with ^
-|vsize|Virtual memory size |pi_size | |+|vsize ​(( - default value)) ​|Virtual memory size |pi_size | |
 |pmem |Percentage of real memory |pi_prm |ps -o pmem | |pmem |Percentage of real memory |pi_prm |ps -o pmem |
 |rss |Resident set size |pi_trss + pi_drss |ps -o rssize | |rss |Resident set size |pi_trss + pi_drss |ps -o rssize |
Line 21: Line 21:
 |drss |Data resident set size |pi_drss | | |drss |Data resident set size |pi_drss | |
 |trss |Text resident set size |pi_trss | | |trss |Text resident set size |pi_trss | |
-|dvm |Data virtual memory size |pi_dvm |shows the same value as '​size'​ | 
-|* - //default value// ​ |||| 
  
 === FreeBSD === === FreeBSD ===
Line 32: Line 30:
 |pmem |Percentage of real memory |calculated from rss |ps -o pmem | |pmem |Percentage of real memory |calculated from rss |ps -o pmem |
 |rss |Resident set size |kp_eproc.e_vm.vm_rssize or ki_rssize |ps -o rss | |rss |Resident set size |kp_eproc.e_vm.vm_rssize or ki_rssize |ps -o rss |
-|size|Size of process (code + data + stack) |tsize + dsize + ssize | |+|size (( - default value)) ​|Size of process (code + data + stack) |tsize + dsize + ssize | |
 |tsize |Text (code) size |kp_eproc.e_vm.vm_tsize or ki_tsize |ps -o tsiz | |tsize |Text (code) size |kp_eproc.e_vm.vm_tsize or ki_tsize |ps -o tsiz |
 |dsize |Data size |kp_eproc.e_vm.vm_dsize or ki_dsize |ps -o dsiz | |dsize |Data size |kp_eproc.e_vm.vm_dsize or ki_dsize |ps -o dsiz |
 |ssize |Stack size |kp_eproc.e_vm.vm_ssize or ki_ssize |ps -o ssiz | |ssize |Stack size |kp_eproc.e_vm.vm_ssize or ki_ssize |ps -o ssiz |
-|* - //default value// ​ |||| 
  
 === Linux === === Linux ===
Line 43: Line 40:
  
 ^ Supported value ^ Description ^ Source in /​proc/<​pid>/​status file ^ ^ Supported value ^ Description ^ Source in /​proc/<​pid>/​status file ^
-|vsize|Virtual memory size |VmSize |+|vsize ​(( - default value)) ​|Virtual memory size |VmSize |
 |pmem |Percentage of real memory |(VmRSS/​total_memory) * 100 | |pmem |Percentage of real memory |(VmRSS/​total_memory) * 100 |
 |rss |Resident set size |VmRSS | |rss |Resident set size |VmRSS |
Line 57: Line 54:
 |stk |Size of stack segment |VmStk | |stk |Size of stack segment |VmStk |
 |swap |Size of swap space used |VmSwap | |swap |Size of swap space used |VmSwap |
-|* - //default value// ​ |||+
  
 Notes for Linux: Notes for Linux:
   - Not all '​memtype'​ values are supported by older Linux kernels. For example, Linux 2.4 kernels do not support ''​hwm'',​ ''​pin'',​ ''​peak'',​ ''​pte''​ and ''​swap''​ values.   - Not all '​memtype'​ values are supported by older Linux kernels. For example, Linux 2.4 kernels do not support ''​hwm'',​ ''​pin'',​ ''​peak'',​ ''​pte''​ and ''​swap''​ values.
-  - We have noticed that self-monitoring of Zabbix agent active ​checks ​process with ''​proc.mem[...,​...,​...,​...,​data]''​ shows a value that is 4 kB larger than reported by ''​VmData''​ line in the agent'​s /​proc/<​pid>/​status file. At the time of self-measurement the agent'​s data segment increases by 4 kB and then returns to the previous size. +  - We have noticed that self-monitoring of the Zabbix agent active ​check process with ''​proc.mem[...,​...,​...,​...,​data]''​ shows a value that is 4 kB larger than reported by ''​VmData''​ line in the agent'​s /​proc/<​pid>/​status file. At the time of self-measurement the agent'​s data segment increases by 4 kB and then returns to the previous size.
 === Solaris === === Solaris ===
  
Line 68: Line 64:
  
 ^ Supported value ^ Description ^ Source in psinfo structure ^ Tries to be compatible with ^ ^ Supported value ^ Description ^ Source in psinfo structure ^ Tries to be compatible with ^
-|vsize|Size of process image |pr_size | ps -o vsz |+|vsize ​(( - default value)) ​|Size of process image |pr_size | ps -o vsz |
 |pmem |Percentage of real memory |pr_pctmem |ps -o pmem | |pmem |Percentage of real memory |pr_pctmem |ps -o pmem |
 |rss |Resident set size \\ It may be underestimated - see rss description in "man ps"​.|pr_rssize |ps -o rss | |rss |Resident set size \\ It may be underestimated - see rss description in "man ps"​.|pr_rssize |ps -o rss |
-|* - //default value// ​ ||||