Difference between revisions of "Vmstat"

From wikieduonline
Jump to navigation Jump to search
(<code>vmstat</code> command is available at least in FreeBSD, Linux or Solaris.)
Line 12: Line 12:
 
  0  0      0 127220  94904 530056    0    0    0    0  39  60  0  1 99  0  0
 
  0  0      0 127220  94904 530056    0    0    0    0  39  60  0  1 99  0  0
 
</pre>
 
</pre>
 +
 +
[[Memory]] information:
 +
* <code>vmstat -s</code>
 +
 +
[[Disk]] information:
 +
* <code>vmstat -d</code>
 +
  
 
[[Category:Linux commands]]
 
[[Category:Linux commands]]
 
[[Category:Monitoring]]
 
[[Category:Monitoring]]

Revision as of 06:22, 9 December 2019

vmstat (virtual memory statistics) is a command that displays information about operating system memory, processes, interrupts, paging and I/O block. vmstat command is available at least in FreeBSD, Linux or Solaris.


vmstat 1
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 0  0      0 127568  94904 530064    0    0     6    56   23   79  0  0 99  1  0
 0  0      0 127592  94904 530056    0    0     0     0   26   62  0  0 100  0  0
 0  0      0 127592  94904 530056    0    0     0     0   26   61  0  0 100  0  0
 0  0      0 127220  94904 530056    0    0     0   100   43  109  2  0 98  0  0
 0  0      0 127220  94904 530056    0    0     0     0   39   60  0  1 99  0  0

Memory information:

  • vmstat -s

Disk information:

  • vmstat -d

Advertising: