How to explain the vmstat display result in linux

Source: Internet
Author: User

In linux, The vmstat display result explains vmstat www.2cto.com vmstat 1 5 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 3295108 158596 342284 19338704 0 0 15 1 1 0 0 99 0 0 # procsr: number of processes waiting for running B: Number of processes in sleep w: Number of processes that can be switched # memoryswap: virtual memory usage free: idle memory buff: memory Used as cache: memory used as cache www.2cto.com # swapsi: Number of swap seconds from swap interval to memory O: Number of switches from memory swap to swap interval # iobi: number of blocks sent to fast devices bo: number of blocks received by Block devices # systemin: Number of disconnections per second cs: number of Environment switches per second # cpu // The percentage of total cpu usage is displayed as us: Process execution time in use sy: system process execution time id: idle time wa: i/O wait time is generally r <5, B = 0 # if r is often greater than 3 or 4, and the id is often less than 50, it indicates that the cpu load is too large # For example, si and so are not equal to 0 for a long time, indicating that the memory is insufficient # disk is often not equal to 0, and the queue in B is greater than 2 or 3, indicates that io performance is poor. vmstat-a: displays active and inactive memory-f: displays the number of forks since the system was started. -M: Display slabinfo-n: The name of each field is displayed only once at the beginning. -S: displays memory-related statistics and the number of various system activities. Delay: refresh interval. If this parameter is not specified, only one result is displayed. Count: Number of refreshes. If you do not specify the number of refreshes, but specify the interval, the number of refreshes is infinite. -D: Displays disk statistics. -P: displays statistics of specified disk partitions.-S: displays statistics in a specified unit. Parameters include k, K, m, and M, representing 1000, 1024, 1000000,
1048576 bytes (byte ). The default unit is K (1024 bytes)-V: displays vmstat version information.
 

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.