Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a debian 5 machine that is running php, apache, node.js, and mysql.

I would like some report-generating software that will show cpu, memory usage, and network traffic over time. something simple with graphs and a web interface would be optimal. Being able to do this on a per-process or per-service basis would also be very nice.

share|improve this question
up vote 2 down vote accepted

Some hints: Cacti, munin, MRTG. Wikipedia has an overview.

share|improve this answer
ended up trying out munin first. will try others and let you know how it goes. – Hersheezy Aug 12 '11 at 2:13

SvenW's answer is definitely the better option, but don't forget about simple command line tools like sar, atop (and atopsar) and hell, even sysshot.

Of course, if you want graphs for these you'll be rolling your own, but for a quick overview with little/no configuration, they're unbeatable.

share|improve this answer

If you want a quick setup, take a look at Ganglia. To do this on a per process, in a nearly exact way, you can use gmetric, something like this:


/usr/bin/gmetric --name process_name_CPU_usage --value $(ps --no-headers -p `pidof process_name` -o pcpu) --type float --unit percentage
/usr/bin/gmetric --name process_name_memory --value $(expr $(ps --no-headers -p `pidof process_name` -o rss) \* 1024) --type uint32 --unit bytes

and put it into a cron job:

* * * * * /path/to/
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.