Using sysperfstat for Solaris performance monitoring

sysperfstat, part of the K9 toolkit displays utilisation and saturation for CPU, memory, disk and network, all on one line.

The saturation values are tuned so that they are similar to the system load averages, but for saturation only.

This provides a quick summary of system performance statistics. In the example below, several large files were sent over the network - %Net, %CPU and %Disk utilisation levels can be seen to rise. Full example here.

$ sysperfstat 1
            ------ Utilisation ------     ------ Saturation ------
    Time    %CPU   %Mem  %Disk   %Net     CPU    Mem   Disk    Net
23:41:00    0.85  44.11   2.40   0.19    0.01   0.00   0.00   0.00
23:41:01    3.00  79.41   0.00   0.00    0.00   0.00   0.00   0.00
23:41:02   32.00  79.69   1.29   8.40    0.00   0.00   0.00   0.00
23:41:03   55.00  80.12  25.15  65.40    0.00   0.00   0.01   0.00
23:41:04   63.00  80.42  22.02  82.53    0.00   0.00   0.01   0.00
23:41:05   82.00  80.64  44.74  84.22    0.00   0.00   0.07   0.00
23:41:06   88.00  80.85  41.31  86.41    2.00   0.00   0.05   0.00
23:41:07   74.00  81.04  48.37  86.16    0.00   0.00   0.05   0.00
23:41:08   75.00  81.06  74.18  84.34    3.00   0.00   0.24   0.00
23:41:09   47.00  80.78  18.59  82.96    0.00   0.00   0.00   0.00
23:41:10   13.00  80.64   0.00  18.79    1.00   0.00   0.00   0.00
23:41:11    2.00  80.64   0.00   0.00    0.00   0.00   0.00   0.00
23:41:13    3.00  80.64   0.00   0.00    0.00   0.00   0.00   0.00
23:41:14    1.50  80.64   0.00   0.00    0.00   0.00   0.00   0.00   
[...]