Using Iostat to detect Linux hard disk IO performance

Source: Internet
Author: User

# 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

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.