Change website

From Jan 16 2015,


All post content will be move to we's offical website with many content...

Can access website here: http://justox.com

Thanks for your visit!

Thursday, 19 December 2013

UNIX Tools: vmstat – report virtual memory

vmstat is a computer system monitor tool that collects and displays summary information about operating system memory, processes, interrupts, paging and block I/O information.
1vmstat
vmstat sample output
vmstat usage:

vmstat [-V] [-n] [delay [count]]
-V prints version.
-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
delay is the delay between updates in seconds.
unit size k:1000 K:1024 m:1000000 M:1048576 (default is K)
count is the number of updates.
To display memory utilization slabinfo, enter:
1vmstat -m
To display disk statistics, enter:
1vmstat -d
To get information about active / inactive memory pages, enter:
1vmstat -a

No comments:

Post a Comment