Computer Hope

Other Pages

Home
Site map
Computer help

Dictionary
News
Q&A
What's new

Tools

E-mail this page
Print Preview
Edit this page



 

Linux / Unix vmstat command

Quick links

About vmstat
Syntax
Examples
Related commands
Linux / Unix main page

About vmstat

Display information about the kernel threads, virtual memory, disks, traps, and CPU activity.

Syntax

vmstat [-V] [-n] [delay [count]]

-V Print version information.
-n causes the headers not to be reprinted regularly.
-a print inactive/active page stats.
-d prints disk statistics
-D prints disk table
-p prints disk partition statistics
-s prints vm table
-m prints slabinfo
-S unit size
unit size k:1000 K:1024 m:1000000 M:1048576 (default is K)
delay delay between updates in seconds.
count number of updates.

Examples

vmstat

Running the vmstat command with no extra options would display information similar to the below information. 

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b
 0  0
swpd   free     buff      cache
7412  18872  18044 110132
si   so
0    0
bi    bo
2     7
   in   cs us
   26 22  2
sy id wa
1 96  0

Related commands

df

Index

Category:
Linux / Unix

Companies:
Click here

Related Pages:

Resolved

Were you able to locate the answer to your questions?

Home - Computer help - Contact - Dictionary - Links
Link to Computer Hope - Bookmark Computer Hope