Use vmstat to monitor the system load environment: [oracle @ simpleit ~] $ Uname-aLinuxsimpleit.domain.cn2.6.18-194.el5 #1SMPFriApr214: 58: 35EDT2010i686athloni386GNU/Linux [oracle @ simpleit ~] $... Use vmstat to monitor system load
Environment:
[Oracle @ simpleit ~] $ 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 0 346220 28848 0 0 493544 55 109 1014 0 1 98 1 0
0 0 0 346220 28848 0 0 0 21 493544 93 0 0 698 0
0 0 0 346220 28856 493544 0 0 48 703 0 0 102 0 0
0 0 0 346220 28856 493544 0 0 21 693 94 0 0 100 0
0 0 0 346220 28860 493544 0 0 30 701 95 0 0 100 0
DESCRIPTION
Vmstat reports information about processes, memory, paging, block IO, traps, and cpu activ-ity.
FIELD DESCRIPTION FOR VM MODE
Procs
R: The number of processes waiting for run time.
B: The number of processes in uninterruptible sleep.
Memory
Swpd: the amount of virtual memory used.
Free: the amount of idle memory.
Buff: the amount of memory used as buffers.
Cache: the amount of memory used as cache.
Inact: the amount of inactive memory. (-a option)
Active: the amount of active memory. (-a option)
Swap
Si: Amount of memory swapped in from disk (/s ).
So: Amount of memory swapped to disk (/s ).
IO
Bi: Blocks received from a block device (blocks/s ).
Bo: Blocks sent to a block device (blocks/s ).
System
In: The number of interrupts per second, including the clock.
Cs: The number of context switches per second.
CPU
These are percentages of total CPU time.
Us: Time spent running non-kernel code. (user time, including nice time)
Sy: Time spent running kernel code. (system time)
Id: Time spent idle. Prior to Linux 2.5.41, this includes des IO-wait time.
Wa: Time spent waiting for IO. Prior to Linux 2.5.41, encoded in idle.
St: Time stolen from a virtual machine. Prior to Linux 2.6.11, unknown.
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