May 2017
Beginner
552 pages
28h 47m
English
Invoking dstat with no arguments will show CPU activity, disk I/O, network I/O, paging, interrupts, and context switches at one second intervals.
The following example shows the default dstat output:
$ dstat ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system-- usr sys idl wai hiq siq| read writ| recv send| in out | int csw 1 2 97 0 0 0|5457B 55k| 0 0 | 0 0 |1702 3177 1 2 97 0 0 0| 0 0 | 15k 2580B| 0 0 |2166 4830 1 2 96 0 0 0| 0 36k|1970B 1015B| 0 0 |2122 4794
You can ignore the first line. Those values are the initial contents of the tables dstat mines. The subsequent lines show the activity during a time slice.
In this sample, the CPU is mostly idle, and there is little disk activity. The ...