December 2018
Beginner
826 pages
22h 54m
English
On systems that are very contended, or where you might want to output system information for later correlation and debugging, vmstat is ideal. Giving you more of a global overview of your system, it can be handy to store periodic values to a file, which you can then check later:
$ vmstat -t 3procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu----- -----timestamp----- r b swpd free buff cache si so bi bo in cs us sy id wa st UTC 2 0 0 15072 164 419900 0 0 1 12 11 11 0 0 100 0 0 2018-12-11 15:40:46 0 0 0 15084 164 419900 0 0 0 0 15 12 0 0 100 0 0 2018-12-11 15:40:49 0 0 0 15084 164 419900 0 0 0 0 11 9 0 0 100 0 0 2018-12-11 15:40:52 0 0 ...