#10 Sysstat Part 2: mpstat & sar
In the second part of our introduction to the Sysstat utilities, we'll look at Mpstat and Sar.
Mpstat is a great little utility to view information about our CPU or CPUs/Cores.
Sar is an extremely versatile utilities that, when paired with the sadc daemon, provides extensive system logging and realtime monitoring.
Uploaded on Nov 06, 2009 | 7:44 | Tags: Load Testing mpstat sar sysstat
# mpstat # monitor all CPUs/Cores printing each second 10 times $ mpstat -P ALL 1 10 # sar # be sure to enable sadc $ sudo nano /etc/default/sysstat ENABLED="true" $ sudo /etc/init.d/sysstat start # process/cpu information $ sar -q # network interface information $ sar -n DEV # kernel paging $ sar -B # read from specific log $ sar -f /var/log/sysstat/sa04
If you enjoyed this episode, be sure to check out the newest Technicast on Apache2. All purchases support FOSSCasts.





