I want to measure memory utilization of my Apache Server. Can I use the pmap/ps command and pass all the process IDs of httpd and take that as total utilization?
In most of the blog, they suggest that ps command gives correct result for sample program but not for apache
pmap PID1 PID2 ....
It seems that pmap gives more info than just RAM utilization. Is there any command in Unix/Perl with which I can get the correct info for memory use?