# iostat-x 1 10
RRQM/S: Per secondThe number of read operations for the merge. ThatDelta (rmerge)/s
WRQM/S: Per secondThe number of write operations for the merge. ThatDelta (wmerge)/s
R/S: Reads completed per secondNumber of I/O devices. ThatDelta (RIO)/s
W/S: Writes completed per secondNumber of I/O devices. ThatDelta (WIO)/s
RSEC/S: Number of Read sectors per second. ThatDelta (rsect)/s
WSEC/S: Number of Write sectors per second. ThatDelta (wsect)/s
RKB/S: Read per secondThe number of K bytes. IsHalf of the rsect/s because the size of each sector is512 bytes.(Calculation required)
WKB/S: Write per secondThe number of K bytes. IsHalf of the wsect/s.(Calculation required)
Avgrq-sz: Average Per Deviceof the I/O operationData size(Sector)。Delta (rsect+wsect)/delta (Rio+wio)
Avgqu-sz: AverageI/O Queue length. ThatDelta (AVEQ)/s/1000 (becauseAveq units are in milliseconds)。
Await: Average Per DeviceWait time for I/O operation(milliseconds)。 ThatDelta (ruse+wuse)/delta (Rio+wio)
SVCTM: Average Per Deviceof the I/O operationService hours(milliseconds)。 ThatDelta (use)/delta (RIO+WIO)
%util: How much time in a second is spentI/O operation, or how much time is in a second i/o queue is non-empty. is delta (use)/s/1000 (because use in milliseconds
If %util approaches 100%, describes the resulting i/ O too many requests, i/o The system is full load, the disk
there may be bottlenecks; Idle less than 70% io pressure is greater wait.
can also be combined with vmstat view b parameters Span lang= "en-US" > (number of processes waiting for a resource wa parameters (IO wait takes up cpu time percentage 30% when ) /span>
< Span lang= "en-US" > < Span lang= "en-US" > < Span class= "Ttag" > In addition, refer to:
vmstat is an abbreviation for virtual meomory Statistics (dummy memory statistics) that monitors the operating system's virtual memory, process, IO read-write, CPU activity, and so on. It is the overall situation of the system statistics, the disadvantage is that a process can not be in-depth analysis.
instruction Path:/usr/bin/vmstat
Show Active (active) and inactive (inactive) memory
Vmstat-a 2 10
Using Iostat to detect Linux hard disk IO performance