Linux Vmstat System Results description

Source: Internet
Author: User

You can use Vmstat to display information such as system load.

For example, Vmstat 5 5 means that n (5) samples are sampled in T (5) seconds.

Procs:
r-->; number of processes waiting in the run queue
b-->; number of processes waiting on Io
w-->; can enter a process that runs the queue but is replaced

Memoy
swap-->; currently available swap memory (k)
free-->; idle memory (k)

Pages
re--"Recycled pages
mf--"Not a serious error page
pi--"Number of pages entered (k)
po--"Number of pages out (k)
fr--"Number of free pages (k)
de--the number of misses in the page that was read in advance
sr--"page scanned by the clock algorithm

Disk displays the disks operation per second. s indicates a SCSI disk, 0 indicates the disk number

Fault display of interrupts per second
in--"Device interrupted
sy--"System Interrupt
cy--"CPU Switching

CPU indicates usage status of CPU
cs--"User Process usage time
sy--"Time the system process was used
id--"CPU Idle Time

Explain:
If R is often greater than 4 and the ID is often less than 40, it indicates that the CPU is heavily loaded.
If the Pi,po is not equal to 0 for a long time, it indicates insufficient memory.
If disk is often not equal to 0, and the queue in B is greater than 3, the IO performance is poor.

[Email protected] ~]# Vmstat 5 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 212200 838264 4120 2237684 0 0 54 179 1 1 1 0 98 0 0
0 0 212200 838240 4128 2237724 0 0 0 268 318 400 0 0 100 0 0
0 0 212200 838372 4144 2237724 0 0 0 236 319 401 0 0 100 0 0
0 0 212200 838256 4152 2237724 0 0 0 311 329 397 0 0 100 0 0
0 0 212200 838256 4168 2237724 0 0 0 6 315 406 0 0 100 0 0

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.