1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

This modules sums the RSS (real) memory used for several processes with the same name (instances), p.e: This is used to sum all memory used by PHP exectutions in a server

Module data

module_begin 
module_name php5_memory_sum 
module_type generic_data 
module_exec ps aux | grep php5 | grep -v grep | awk '{ SUM+=$6 } END { print SUM }' 
module_description This module sums all RSS (resident, per process) memory used for each process 'php5' and SUMS all together in one single value. 
module_end
(Visited 50 times, 1 visits today)