天天看點

iostat -dmx輸出的解釋

              rrqm/s ----隊列中每秒鐘合并的讀請求數量

                     The number of read requests merged per second that were queued to the device.

              wrqm/s ----隊列中每秒鐘合并的寫請求數量

                     The number of write requests merged per second that were queued to the device.

              r/s    ----每秒 從該device讀取請求的個數

                     The number of read requests that were issued to the device per second.

              w/s    ----每秒 向該device寫入請求的個數

                     The number of write requests that were issued to the device per second.

              rMB/s  ----每秒 從該device讀取的MB數.

                     The number of megabytes read from the device per second.

              wMB/s  ----每秒 向該device寫入的MB數.

                     The number of megabytes written to the device per second.

              await  ----這個我了解有點類似awr中sql的elapsed time(包括cpu time和各種wait的wait time)

                     The average time (in milliseconds) for I/O requests issued to the device to be served. 

                     This includes the time spent by the requests in queue  and  the  time spent servicing them.

              svctm  ----這個我了解有點類似awr中sql的cpu time

                     The average service time (in milliseconds) for I/O requests that were issued to the device. 

                     Warning! Do not trust this field any more. This field will be removed in a future sysstat version.

              %util

                     Percentage of elapsed time during which I/O requests were issued to the device (bandwidth utilization for the device). 

                     Device saturation  occurs  when this value is close to 100%.

[[email protected] ~]# iostat -dmx  1 10000
Linux 2.6.32-573.el6.x86_64 (targetdb12) 	01/17/2018 	_x86_64_	(4 CPU)


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.36     0.32    0.94    0.19     0.01     0.00    30.03     0.02   20.30   6.95   0.78


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 46490.00    0.00  501.00     0.00   183.56   750.36     4.85    9.67   0.84  41.90


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     4.00    0.00    3.00     0.00     0.03    18.67     0.02    8.00   6.67   2.00


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 58842.00    0.00  653.00     0.00   226.45   710.22     3.79    5.71   0.63  41.30


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 104273.00    2.00 1097.00     0.01   417.55   778.13    10.35    9.48   0.49  53.80


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 97330.00    0.00  974.00     0.00   384.00   807.43     7.21    7.40   0.42  41.20


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 111793.07    3.96  947.52     0.03   422.72   909.94    19.77   20.54   0.51  48.61


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 100749.00    0.00  957.00     0.00   415.14   888.41    17.13   18.15   0.53  50.60


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 97419.00    0.00  885.00     0.00   384.00   888.62    22.41   25.32   0.59  52.60


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 129891.00    2.00 1181.00     0.01   512.00   886.38    25.38   21.45   0.51  60.70


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 111172.90    0.00  927.10     0.00   436.43   964.08    19.59   21.12   0.43  40.19


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 116620.43    0.00 1045.16     0.00   461.32   903.95    14.19   13.59   0.43  45.05


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 104748.04    0.00  930.39     0.00   410.92   904.52    11.28   12.12   0.40  37.45


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 89123.00    1.00  803.00     0.00   320.00   815.13     8.57    9.17   0.46  36.90


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 98767.00    1.00  845.00     0.00   406.12   983.16    67.51   80.98   0.83  70.40


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 108823.00    4.00 1284.00     0.04   444.20   706.35     5.73    4.60   0.51  65.90


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 106607.92    0.00  924.75     0.00   422.12   934.85    11.57   12.53   0.33  30.40


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 111299.00    0.00 1000.00     0.00   438.67   898.39     9.72    9.72   0.44  44.30


Device:         rrqm/s   wrqm/s     r/s     w/s    rMB/s    wMB/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00 32454.00   13.00  314.00     0.11   128.00   802.37     3.81   11.65   0.87  28.40
           

繼續閱讀