The sysstat package contains the sar, sadf, iostat, nfsiostat, cifsiostat, mpstat, and pidstat commands for Linux. The sar command collects and reports system activity information. The statistics reported by sar concern I/O transfer rates, paging activity, process-related activites, interrupts, network activity, memory and swap space utilization, CPU utilization, kernel activities, and TTY statistics, among others. The sadf command may be used to display data collected by sar in various formats. The iostat command reports CPU statistics and I/O statistics for tty devices and disks. The pidstat command reports statistics for Linux processes. The mpstat command reports global and per-processor statistics. The nfsiostat command reports I/O statistics for network filesystems. The cifsiostat command reports I/O statistics for CIFS filesystems.
|Tags||Monitoring Systems Administration|
|Operating Systems||POSIX Linux|
Release Notes: mpstat now takes into account every interrupt per processor so that their number adds up to the number displayed for CPU "all". The systemd unit file could no longer be installed because a macro wasn't expanded in the configure script. This is now fixed.
Release Notes: sar, pidstat, and mpstat now stop and display their average statistics when they receive a SIGINT signal (crtl/c). pidstat now displays the task's UID for all tasks. The option -U has been added to pidstat; this option tells it to display the username of the task instead of its UID. When this option is followed by a user name, only tasks belonging to the specified user are displayed by pidstat.
Release Notes: Network and IPv4/IPv6 counters have changed to 64-bit format to keep in sync with recent kernels. A new option has been added to iostat to prevent it from displaying its first report with statistics since system boot. Several bugs have been fixed.
Release Notes: A new field has been added to sar -u and mpstat: %gnice (time spent running a niced guest). A new field has been added to sar -r: kbdirty (amount of memory waiting to get written back to disk). Support has been added for the systemd service manager. The sysstat init script has been updated to make it better conform to the LSB.
Release Notes: Option -[0-9]+ has been added to sar to show the data of that many days ago. iostat and sar have persistent device names support. A new option (-t) has been added to sadf: This option tells sadf to display the timestamps in the local time of the data file creator instead of UTC.