Linux Vmstat Use

Source: Internet
Author: User

Simple use of the Vmstat command

Vmstat command is a common system monitoring tool for Linux/unix, which can easily view CPU, memory, swap partition, IO reading and writing.

Vmstat commonly used parameters are two: 1. Time interval of acquisition 2. Number of acquisitions, e.g.

2. Indicates that the server state is collected 2 seconds per cell, 3 means that it collects 3 times, if it is #vmstat 2, it is collected every 2 seconds.

Keep collecting until you have finished the procedure manually.

The meaning of each parameter

R: A running queue can also be understood as how many processes are actually allocated to CPU resources

B: The process that represents blocking

SWAPD: The size of virtual memory already used, if greater than 0 indicates insufficient physical memory.

Free: Idle physical memory

Buff: Cache Size

Cache:cache records the buffering of our open files, etc.

Si: The size of virtual memory read from disk per second

So: the size of the disk written from virtual memory per second

Bi: Number of blocks received per second from a block device, i.e. read block device

Bo: Number of blocks sent to block device per second, i.e. write block device

In: Number of interrupts per second CPU

Cs: Is the number of context switches that occur per second for the CPU

Us: CPU time consumed by the user

Sy: System CPU Time

ID: Idle CPU Time

Wt: Wait iocpu time

Linux Vmstat Use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.