Check Linux memory used by the process (program)

Wednesday is the perfect time to examine processes on your Linux server. The idea is to gain the feedback to fine tune your web server. The more proficient tools we have to examine the processes the better.

For instance if we type:

pidof httpd

The result may be:

5907 5904 5880 5434 5188

Then to get memory used by a process call the next line for each PID

pmap 5907

Also even better is to have a proficient tool and the HTML output for the memory info. The tool you may use is called “munin” (means memory). You can install munin as described here and here.

Thanks

tags: & category: -