mpstat: Quickdraw processor statistics

Back in April I brushed up against the sysstat suite while mentioning sar. sar is just one of a cluster of tools you get when you install sysstat; another one is mpstat.

2014-07-22-6m47421-mpstat

mpstat shares some features with sar, mostly in its ability to generate processor statistics at intervals, and a set number of times. This is useful in the same way as sar, by allowing you to poll the processor when you know it will be taxed.

Commands are also similar; sar 2 5 will behave in the same way as mpstat 2 5, with some small but obvious variations.

Taking into account the other programs that are available in sysstat (some of which will come later), there’s not a huge difference between sar and mpstat, except perhaps in the specific processor data either one offers. By default, sar shows a little less, and mpstat shows a little more. But some is shared between the two.

And you can’t really appreciate it with this machine, but mpstat has the ability to split out its results according to processor. That might be important if you’re working with one of these. 😯 I keep watching the recycling shop, but nothing yet. …

mpstat‘s output is sparse enough and well-spaced enough that you might consider cramming it into some other application. colorwrapper, anyone? 😉

2 thoughts on “mpstat: Quickdraw processor statistics

  1. Pingback: Links 24/7/2014: Oracle Linux 7; Fedora Delays | Techrights

  2. Pingback: Bonus: A dozen more remainders | Inconsolation

Comments are closed.