Perfmon-like for Linux?

Daniel Silveira picture Daniel Silveira · Dec 6, 2008 · Viewed 21k times · Source

In windows there is perfmon to monitor various performances aspects (called counters) of the system.

Is there a perfmon-like for Linux?

especially, in interested in...

  • CPU usage (total/per process/in kernel)
  • Memory usage (total/per process/in kernel)

...Is it possible to store this information in files for future analysis?

Answer

Rizwan Kassim picture Rizwan Kassim · Dec 6, 2008

DStat is my personal favorite for such tools. From it's page :

  • Combines vmstat, iostat, ifstat, netstat information and more
  • Shows stats in exactly the same timeframe
  • Enable/order counters as they make most sense during analysis/troubleshooting
  • Plugin framework to handle additional counters. (Wifi Quality, for instance)

I love it! It's definitely more flexible (and easier to use) than sar, we just have dstat writing to a file on a regular basis.