mika’s advent calendar – day 3: dstat
dstat is a versatile resource statistics tool. Whereas you might know top (dynamic real-time view of a running system) mpstat (report processors related statistics), iostat (report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions) as well as vmstat (report virtual memory statistics) and slabtop (display kernel slab cache information in real time) you might not yet be aware of dstat.
Start exploring dstat running ‘dstat -taf’, ‘dstat -tif’ and ‘dstat -c -M topcpu -dng -M topmem’. Check out the documentation available at the dstat homepage.