Linux system monitoring

To install it:

sudo apt-get install dstat

Run dstat:

dstat

Run dstat and export results to CSV:

dstat --output results.csv

Output:

usr sys idl wai hiq siq| read  writ| recv  send|  in   out | int   csw 
  4   1  95   0   0   0|   0     0 |2553B 2185B|   0     0 |1472  2978 
 10   5  85   0   0   0|   0     0 | 622B  412B|   0     0 |2112  4765 
  8   7  84   0   0   0|   0     0 |   0     0 |   0     0 |2608  5859 
  9   4  88   0   0   0|   0     0 |   0     0 |   0     0 |1545  3315 
  4   1  95   0   0   0|   0     0 |   0     0 |   0     0 |1561  3207 
  5   3  86   6   0   0|   0    40k|   0     0 |   0     0 | 688  1385 
  5   2  94   0   0   0|   0     0 |   0     0 |   0     0 | 588  1128 
  5   3  91   0   0   0|   0   324k|   0     0 |   0     0 | 608  1183 
  5   4  91   0   0   0|   0     0 |   0     0 |   0     0 | 772  1520 
  4   3  91   2   0   0|   0   252k| 202B  506B|   0     0 | 608  1221 
  6   4  90   0   0   0|   0     0 | 169B  277B|   0     0 |1025  2052 
  6   3  90   0   0   0|   0     0 |   0     0 |   0     0 | 713  1410 
  5   3  92   0   0   0|   0   196k| 296B  140B|   0     0 | 588  1106 
  6   2  93   0   0   0|   0     0 |2104B 1675B|   0     0 | 689  1477 
 10   8  79   2   0   0|   0    68k| 570B  454B|   0     0 |2348  4691 
 15  11  74   0   0   0|   0     0 |   0     0 |   0     0 |2649  5522 
 39  14  48   0   0   0|   0     0 |4440B 4258B|   0     0 |2305  5462 
 38  12  50   0   0   0|   0     0 |7478B  330B|   0     0 |1984  4618 
  9   4  87   0   0   0|   0     0 |   0     0 |   0     0 |1735  3500 
 29  12  60   0   0   0|   0     0 |   0   418B|   0     0 |2911  6278 
 19  12  66   3   0   1|   0    24k| 916B 4343B|   0     0 |1996  4166 
 24  10  66   0   0   0|   0     0 |3016B 2272B|   0     0 |1447  2700 
 18   8  74   0   0   0|   0   156k|  21k 5415B|   0     0 |1754  3614
Categories: Linux Tags: , , ,
%d bloggers like this: