IOSTAT (view disk I/O) is used to monitor the I/O load of system devices. iostat displays statistics from the start of the system when it is running for the first time, after running iostat, the statistics after the command was last run are displayed. You can specify the number and time of statistics to obtain the requ
is 551.49. The volume is still relatively large.
The-x parameter is used below for more statistical information
The code is as follows:
root@10.1.1.200:~# iostat-d-x-m 1 5
Linux 2.6.18-6-amd64 (192.168.2.31) 02/16/2016 _x86_64_
RRQM/S: How many of this device-related read requests per second are being merge.
WRQM/S: How many write requests per second related to this device are being merge.
RMB/S: Number of sectors read per second.
To view or monitor disk read and write performance in Linux, you can use the Iostat command, which is described in this section for its specific use. 1. HDD Read/write performance #查看TPS和吞吐量信息iostat-D-K 1 Device: TPs kb_read/s kb_wrtn/s kb_read kb_wrtnsda 14.54 417.21 368.06 15719357562 13867444535dm-0
There is a performance problem with the Linux system. In general, we can check the initial location problem by Top.iostat,vmstat and other commands. Among them, Iostat can provide us with rich IO status data.$ iostat-x-1AVG-CPU:%user%nice%system%iowait%steal%idle10.43 0.00 1.51 1.51 0.00 86.56device:rrqm/s wrqm/s r/s w/s rkb/s wkb/s avgrq-sz avgqu-sz await r_await w_await SVCTM%utilSDA 4477.00 9.00 951.00 1
Iostat is used to check the I/O performance of linux hard disks. recently, the company has installed several DELLPE2650 and 2850 Servers. the RHLE5.132-bit system is installed in a unified manner, while the SCSI hard disks of the servers are all RAID 1. The boss of the company asked for a unified detection report on hard disk I/O. he found many tools in Linux and found that
) usage status, by default, monitors all the hard disk devices, you can specify a device, such as-D SDA. ;-K Some columns using block are forced to use kilobytes units, the default unit block-M some columns that use block units Force MB, the default unit block[[emailprotected]app]#iostat-d-k13 #没1秒一次 Refresh 3 disk usage status linux3.10.0-514.el7.x86_64 (localh
Recently, the company has installed several DELLPE2650 and 2850 Servers. the RHLE5.132 system is installed in a unified manner, while the server's SCSI hard disks are all RAID 1. The boss of the company asked for a unified detection report on hard disk I/O. many tools were found in Linux, and iostat was the most practical tool. this...
Recently, the company has installed several DELL PE2650 and 2850 Servers
Recently, the company has installed several DELL PE2650 and 2850 servers. The RHLE5.132 system is installed in a unified manner, while the server's SCSI hard disks are all RAID 1. The boss of the company asked for a unified detection report on hard disk I/O. He found many tools in Linux and found that iostat is the most practical. He needs to install sysstat first, that is, yum-y install sysstat; setting up
Install iostat on centos
# Yum install sysstat
This parameter has never been used before. Now I have carefully studied iostat, because there is a high pressure on an important server, so let's take a look at it. below is the server with too much Io pressure.
$iostat -x 1Linux 2.6.33-fukai (fukai-laptop) _i686_ (2 CPU)avg-cpu: %user %nice %system %
The Iostat in a Linux system is an abbreviation for I/O statistics (input/output statistics), and the Iostat tool willMonitor the disk operation activity. It is characterized by the reporting of disk activity statistics, as well as the reporting of CPU usage. WithVmstat, Iostat
The Iostat command under Linux#iostat-D-k-t 2650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/79/A9/wKiom1aXZoLx6kxcAAAngDb8OQQ543.png "title=" D4R) 1q5fj_y{12bo9s5_gvo.png "alt=" Wkiom1axzolx6kxcaaangdb8oqq543.png "/>-D: Display devices in the system-K: Indicates the display in kilobytes per second-T: Print out time information2: Count once every 2 secondsThe time information is printed each time
disk, adjusting the kernel elevator algorithm, optimizing the application, or upgrading the CPU.The queue length (avgqu-sz) can also be used as an indicator to measure the system I/O load,
################ Operation################ Iostat-x 1 10Linux 2.6.18-92. el5xen 02/03/2009Avg-cpu: % user % nice % system % iowait % steal % idle1.10 0.00 4.82 39.54 0.07 54.46Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s
wmb/s
-
Avgrq-sz
The average request size per second
Avgqu-sz
Average I/O queue depth, HDD may be around 4, SSD can reach about 30
Await
Average Per Device I/O operation wait Time (MS)
R_await
Waiting time to read
W_await
Write the wait Time
Svctm
Average service time Per device I/O operation (MS)
%util
How much time per second is spent on I/O o
time in a second is spentI/O operation, or how much time is in a secondi/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 resour
Http://www.php-oa.com/2009/02/03/iostat.html
I've never used this parameter before. Now seriously study the Iostat, because there is just one important server pressure high, so put it up to analyze. The next one is IO, a server with too much pressure.
1 2 3 4 5 6 7 8
$iostat-X 1 Linux 2.6.33-fukai (fukai-laptop) _i686_ (2 CPU) avg-cpu:%user% nice%system%iowait%steal%idle nbsp; 5.47 0.50 8
Detailed RAID Disk utilization
one. RAID definitionRAID (Redundant array of independent disks independent redundant disk array) technology is the University of California, Berkeley, 1987, originally to combine small low-cost disk to replace large expensive disk, At the same
View InnoDB disk space usage bitsCN.com
View InnoDB disk space utilization page utilization mainly refers to the space used by each page in btee. We know that the default page size of InnoDB is 16 kB. However, the actual usage is not always full. we define the total usage bytes of all pages divided by the total number
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.