blog.up-link.ro
18Jun/100

UNIX Tools: vmstat – report virtual memory statistics

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.

vmstat

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:

vmstat -m

To display disk statistics, enter:

vmstat -d

To get information about active / inactive memory pages, enter:

vmstat -a
Print This Post Print This Post
Comments (0) Trackbacks (1)

No comments yet.


Leave a comment


*