IOSTAT: Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions. The first report generated by the iostat command provides statistics concerning the time since the system was booted. Each subsequent report covers the time since the previous report. All statistics are reported each time the iostat command is run. A device header row is displayed followed by a line of statistics for each device that is configured. The iostat command generates two types of reports, the CPU Utilization report and the Device Utilization report.
[root@rahul-linux ~]# iostat 5
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.76
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.74 0.11 10774.22 312495 30035875404
fiob 165.60 385.39 4082.03 1074372153 11379708364
fioc 220.45 352.78 16401.66 983474378 45723802863
sda 1.90 0.62 91.51 1720980 255100394
dm-0 1.90 0.61 91.49 1708384 255048440
dm-1 0.00 0.00 0.00 3576 1736
dm-2 0.00 0.00 0.02 2456 50200
dm-3 541.44 738.28 31257.91 2058152399 87139386631
sdb 4.78 0.57 7000.35 1576711 19515259748
dm-4 4.73 0.18 7000.35 512943 19515259748
dm-5 6.09 0.18 7000.35 512535 19515259748
avg-cpu: %user %nice %system %iowait %steal %idle
1.36 0.00 0.72 0.01 0.00 97.92
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 0.00 0.00 0.00 0 0
fiob 11.00 0.00 418.40 0 2092
fioc 273.20 0.00 11328.00 0 56640
sda 0.00 0.00 0.00 0 0
dm-0 0.00 0.00 0.00 0 0
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 438.60 0.00 11746.40 0 58732
sdb 0.20 0.00 17.60 0 88
dm-4 0.20 0.00 17.60 0 88
dm-5 0.20 0.00 17.60 0 88
CPU Utilization Report
The first report generated by the iostat command is the CPU Uti-
lization Report. For multiprocessor systems, the CPU values are
global averages among all processors. The report has the fol-
lowing format:
%user
Show the percentage of CPU utilization that occurred
while executing at the user level (application).
%nice
Show the percentage of CPU utilization that occurred
while executing at the user level with nice priority.
%sys
Show the percentage of CPU utilization that occurred
while executing at the system level (kernel).
%iowait
Show the percentage of time that the CPU or CPUs were
idle during which the system had an outstanding disk I/O
request.
%idle
Show the percentage of time that the CPU or CPUs were
idle and the system did not have an outstanding disk I/O
request.
Device Utilization Report
The second report generated by the iostat command is the Device
Utilization Report. The device report provides statistics on a
per physical device or partition basis. Block devices for which
statistics are to be displayed may be entered on the command
line. Partitions may also be entered on the command line provid-
ing that option -x is not used. If no device nor partition is
entered, then statistics are displayed for every device used by
the system, and providing that the kernel maintains statistics
for it. If the ALL keyword is given on the command line, then
statistics are displayed for every device defined by the system,
including those that have never been used. The report may show
the following fields, depending on the flags used:
Device:
This column gives the device (or partition) name, which
is displayed as hdiskn with 2.2 kernels, for the nth
device. It is displayed as devm-n with 2.4 kernels, where
m is the major number of the device, and n a distinctive
number. With newer kernels, the device name as listed in
the /dev directory is displayed.
tps
Indicate the number of transfers per second that were
issued to the device. A transfer is an I/O request to the
device. Multiple logical requests can be combined into a
single I/O request to the device. A transfer is of inde-
terminate size.
Blk_read/s
Indicate the amount of data read from the drive expressed
in a number of blocks per second. Blocks are equivalent
to sectors with 2.4 kernels and newer and therefore have
a size of 512 bytes. With older kernels, a block is of
indeterminate size.
Blk_wrtn/s
Indicate the amount of data written to the drive
expressed in a number of blocks per second.
Blk_read
The total number of blocks read.
Blk_wrtn
The total number of blocks written.
kB_read/s
Indicate the amount of data read from the drive expressed
in kilobytes per second. Data displayed are valid only
with kernels 2.4 and newer.
kB_wrtn/s
Indicate the amount of data written to the drive
expressed in kilobytes per second. Data displayed are
valid only with kernels 2.4 and newer.
kB_read
The total number of kilobytes read. Data displayed are
valid only with kernels 2.4 and newer.
[root@linux-rahul ~]# iostat -c Only CPU
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
[root@linux-rahul ~]# iostat -d Only Device
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10755.19 333951 30035903001
fiob 166.50 583.31 4079.87 1629000641 11393799263
fioc 220.66 352.32 16417.93 983924234 45850168738
sda 1.90 0.65 91.53 1813636 255626242
dm-0 1.90 0.62 91.48 1726024 255479808
dm-1 0.01 0.03 0.03 78592 96216
dm-2 0.00 0.00 0.02 2456 50200
dm-3 542.70 935.75 31252.98 2613252199 87279871002
sdb 5.13 0.57 7295.49 1579140 20374046075
dm-4 5.09 0.18 7295.49 513484 20374046075
dm-5 6.74 0.18 7295.49 513076 20374046075
[root@rahul-linux ~]# iostat -k in KB
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
fioa 8.73 0.06 5377.52 166975 15017951525
fiob 166.50 291.65 2039.94 814508468 5696982119
fioc 220.66 176.16 8208.99 491962261 22925454142
sda 1.90 0.32 45.77 906818 127814321
dm-0 1.90 0.31 45.74 863012 127741104
dm-1 0.01 0.01 0.02 39296 48108
dm-2 0.00 0.00 0.01 1228 25100
dm-3 542.70 467.87 15626.45 1306634391 43640387787
sdb 5.14 0.28 3649.91 789574 10193186452
dm-4 5.09 0.09 3649.91 256742 10193186452
dm-5 6.75 0.09 3649.91 256538 10193186452
[root@rahul-linux ~]# iostat -m in MB
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps MB_read/s MB_wrtn/s MB_read MB_wrtn
fioa 8.73 0.00 5.25 163 14665968
fiob 166.50 0.28 1.99 795421 5563516
fioc 220.66 0.17 8.02 480431 22388319
sda 1.90 0.00 0.04 885 124819
dm-0 1.90 0.00 0.04 842 124748
dm-1 0.01 0.00 0.00 38 46
dm-2 0.00 0.00 0.00 1 24
dm-3 542.70 0.46 15.26 1276012 42617804
sdb 5.14 0.00 3.57 771 9957800
dm-4 5.10 0.00 3.57 250 9957800
dm-5 6.76 0.00 3.57 250 9957864
[root@rahul-linux ~]# iostat -p fioa
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10753.41 334395 30035905061
fioa1 0.00 0.00 0.00 0 0
[root@rahul-linux ~]# iostat -t 5
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
11/18/2016 07:20:22 PM
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10753.01 334821 30035905341
fiob 166.59 604.30 4079.58 1687969584 11395299639
fioc 220.68 352.40 16418.57 984334427 45861237484
sda 1.90 0.65 91.53 1814468 255672866
dm-0 1.90 0.62 91.48 1726856 255526024
dm-1 0.01 0.03 0.03 78592 96624
dm-2 0.00 0.00 0.02 2456 50200
dm-3 542.82 956.82 31251.16 2672632205 87292442464
sdb 5.20 0.57 7368.63 1589948 20582464808
dm-4 5.15 0.19 7368.63 524076 20582464808
dm-5 6.83 0.19 7368.63 523668 20582464808
11/18/2016 07:20:27 PM
avg-cpu: %user %nice %system %iowait %steal %idle
4.43 0.00 1.96 0.14 0.00 93.47
[root@rahul-linux ~]# iostat -V
sysstat version 9.0.4
(C) Sebastien Godard (sysstat <at> orange.fr)
[root@rahul-linux ~]# iostat -x
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await r_await w_await svctm %util
fioa 0.00 0.00 0.00 8.73 0.12 10752.80 1232.05 0.46 173.23 0.21 173.25 0.34 0.30
fiob 0.00 0.00 3.33 163.29 611.07 4079.53 28.15 0.33 7.59 0.17 7.74 0.01 0.11
fioc 0.00 0.00 1.80 218.88 352.39 16418.47 76.00 1.03 0.49 0.19 0.49 0.06 1.24
sda 0.00 0.00 0.03 1.87 0.65 91.53 48.61 0.06 30.66 0.98 31.13 1.13 0.21
dm-0 0.00 0.00 0.03 1.87 0.62 91.48 48.60 0.06 30.65 1.00 31.10 1.10 0.21
dm-1 0.00 0.00 0.00 0.00 0.03 0.03 8.00 0.01 877.21 1.18 1589.75 8.69 0.01
dm-2 0.00 0.00 0.00 0.00 0.00 0.02 74.06 0.00 5.67 1.04 7.24 2.38 0.00
dm-3 0.00 0.00 5.13 537.72 963.58 31250.80 59.34 0.01 0.01 0.19 0.01 0.04 2.37
sdb 0.00 0.00 0.06 5.15 0.57 7375.37 1416.59 0.26 50.25 1.48 50.78 1.06 0.55
dm-4 0.00 1.69 0.01 5.15 0.19 7375.37 1429.62 0.26 51.33 1.75 51.41 1.08 0.56
dm-5 0.00 0.00 0.01 6.85 0.19 7375.37 1076.25 0.36 52.80 1.75 52.86 0.81 0.56
kB_wrtn
The total number of kilobytes written. Data displayed are
valid only with kernels 2.4 and newer.
rrqm/s
The number of read requests merged per second that were
issued to the device.
wrqm/s
The number of write requests merged per second that were
issued to the device.
r/s
The number of read requests that were issued to the
device per second.
w/s
The number of write requests that were issued to the
device per second.
rsec/s
The number of sectors read from the device per second.
wsec/s
The number of sectors written to the device per second.
rkB/s
The number of kilobytes read from the device per second.
wkB/s
The number of kilobytes written to the device per second.
avgrq-sz
The average size (in sectors) of the requests that were
issued to the device.
avgqu-sz
The average queue length of the requests that were issued
to the device.
await
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 servic-
ing them.
svctm
The average service time (in milliseconds) for I/O
requests that were issued to the device.
%util
Percentage of CPU 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%.
iostat -d 2 6
Display six reports at two second intervals for all devices.
[root@rahul-linux ~]# iostat -d 6 2 -t
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
11/18/2016 07:25:11 PM
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10751.90 335575 30035906676
fiob 166.65 619.32 4079.29 1730095952 11395684530
fioc 220.76 367.26 16418.48 1025968411 45865736276
sda 1.90 0.65 91.53 1814532 255696042
dm-0 1.90 0.62 91.48 1726856 255549200
dm-1 0.01 0.03 0.03 78656 96624
dm-2 0.00 0.00 0.02 2456 50200
dm-3 542.97 986.70 31249.67 2756393311 87297327482
sdb 5.25 0.57 7403.48 1592940 20681943282
dm-4 5.20 0.19 7403.48 526964 20681943282
dm-5 6.93 0.19 7403.52 526556 20682064482
11/18/2016 07:25:17 PM
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 0.33 0.00 2.83 0 17
fiob 60.83 176.00 907.33 1056 5444
fioc 1781.83 273525.33 26716.00 1641152 160296
sda 5.00 0.00 552.00 0 3312
dm-0 5.00 0.00 552.00 0 3312
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 1992.17 273701.33 27626.17 1642208 165757
sdb 311.17 5.33 252283.50 32 1513701
dm-4 311.00 4.00 252283.50 24 1513701
dm-5 527.00 4.00 238552.83 24 1431317
[root@rahul-linux ~]# iostat 5
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.76
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.74 0.11 10774.22 312495 30035875404
fiob 165.60 385.39 4082.03 1074372153 11379708364
fioc 220.45 352.78 16401.66 983474378 45723802863
sda 1.90 0.62 91.51 1720980 255100394
dm-0 1.90 0.61 91.49 1708384 255048440
dm-1 0.00 0.00 0.00 3576 1736
dm-2 0.00 0.00 0.02 2456 50200
dm-3 541.44 738.28 31257.91 2058152399 87139386631
sdb 4.78 0.57 7000.35 1576711 19515259748
dm-4 4.73 0.18 7000.35 512943 19515259748
dm-5 6.09 0.18 7000.35 512535 19515259748
avg-cpu: %user %nice %system %iowait %steal %idle
1.36 0.00 0.72 0.01 0.00 97.92
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 0.00 0.00 0.00 0 0
fiob 11.00 0.00 418.40 0 2092
fioc 273.20 0.00 11328.00 0 56640
sda 0.00 0.00 0.00 0 0
dm-0 0.00 0.00 0.00 0 0
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 438.60 0.00 11746.40 0 58732
sdb 0.20 0.00 17.60 0 88
dm-4 0.20 0.00 17.60 0 88
dm-5 0.20 0.00 17.60 0 88
CPU Utilization Report
The first report generated by the iostat command is the CPU Uti-
lization Report. For multiprocessor systems, the CPU values are
global averages among all processors. The report has the fol-
lowing format:
%user
Show the percentage of CPU utilization that occurred
while executing at the user level (application).
%nice
Show the percentage of CPU utilization that occurred
while executing at the user level with nice priority.
%sys
Show the percentage of CPU utilization that occurred
while executing at the system level (kernel).
%iowait
Show the percentage of time that the CPU or CPUs were
idle during which the system had an outstanding disk I/O
request.
%idle
Show the percentage of time that the CPU or CPUs were
idle and the system did not have an outstanding disk I/O
request.
Device Utilization Report
The second report generated by the iostat command is the Device
Utilization Report. The device report provides statistics on a
per physical device or partition basis. Block devices for which
statistics are to be displayed may be entered on the command
line. Partitions may also be entered on the command line provid-
ing that option -x is not used. If no device nor partition is
entered, then statistics are displayed for every device used by
the system, and providing that the kernel maintains statistics
for it. If the ALL keyword is given on the command line, then
statistics are displayed for every device defined by the system,
including those that have never been used. The report may show
the following fields, depending on the flags used:
Device:
This column gives the device (or partition) name, which
is displayed as hdiskn with 2.2 kernels, for the nth
device. It is displayed as devm-n with 2.4 kernels, where
m is the major number of the device, and n a distinctive
number. With newer kernels, the device name as listed in
the /dev directory is displayed.
tps
Indicate the number of transfers per second that were
issued to the device. A transfer is an I/O request to the
device. Multiple logical requests can be combined into a
single I/O request to the device. A transfer is of inde-
terminate size.
Blk_read/s
Indicate the amount of data read from the drive expressed
in a number of blocks per second. Blocks are equivalent
to sectors with 2.4 kernels and newer and therefore have
a size of 512 bytes. With older kernels, a block is of
indeterminate size.
Blk_wrtn/s
Indicate the amount of data written to the drive
expressed in a number of blocks per second.
Blk_read
The total number of blocks read.
Blk_wrtn
The total number of blocks written.
kB_read/s
Indicate the amount of data read from the drive expressed
in kilobytes per second. Data displayed are valid only
with kernels 2.4 and newer.
kB_wrtn/s
Indicate the amount of data written to the drive
expressed in kilobytes per second. Data displayed are
valid only with kernels 2.4 and newer.
kB_read
The total number of kilobytes read. Data displayed are
valid only with kernels 2.4 and newer.
[root@linux-rahul ~]# iostat -c Only CPU
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
[root@linux-rahul ~]# iostat -d Only Device
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10755.19 333951 30035903001
fiob 166.50 583.31 4079.87 1629000641 11393799263
fioc 220.66 352.32 16417.93 983924234 45850168738
sda 1.90 0.65 91.53 1813636 255626242
dm-0 1.90 0.62 91.48 1726024 255479808
dm-1 0.01 0.03 0.03 78592 96216
dm-2 0.00 0.00 0.02 2456 50200
dm-3 542.70 935.75 31252.98 2613252199 87279871002
sdb 5.13 0.57 7295.49 1579140 20374046075
dm-4 5.09 0.18 7295.49 513484 20374046075
dm-5 6.74 0.18 7295.49 513076 20374046075
[root@rahul-linux ~]# iostat -k in KB
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn
fioa 8.73 0.06 5377.52 166975 15017951525
fiob 166.50 291.65 2039.94 814508468 5696982119
fioc 220.66 176.16 8208.99 491962261 22925454142
sda 1.90 0.32 45.77 906818 127814321
dm-0 1.90 0.31 45.74 863012 127741104
dm-1 0.01 0.01 0.02 39296 48108
dm-2 0.00 0.00 0.01 1228 25100
dm-3 542.70 467.87 15626.45 1306634391 43640387787
sdb 5.14 0.28 3649.91 789574 10193186452
dm-4 5.09 0.09 3649.91 256742 10193186452
dm-5 6.75 0.09 3649.91 256538 10193186452
[root@rahul-linux ~]# iostat -m in MB
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps MB_read/s MB_wrtn/s MB_read MB_wrtn
fioa 8.73 0.00 5.25 163 14665968
fiob 166.50 0.28 1.99 795421 5563516
fioc 220.66 0.17 8.02 480431 22388319
sda 1.90 0.00 0.04 885 124819
dm-0 1.90 0.00 0.04 842 124748
dm-1 0.01 0.00 0.00 38 46
dm-2 0.00 0.00 0.00 1 24
dm-3 542.70 0.46 15.26 1276012 42617804
sdb 5.14 0.00 3.57 771 9957800
dm-4 5.10 0.00 3.57 250 9957800
dm-5 6.76 0.00 3.57 250 9957864
[root@rahul-linux ~]# iostat -p fioa
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10753.41 334395 30035905061
fioa1 0.00 0.00 0.00 0 0
[root@rahul-linux ~]# iostat -t 5
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
11/18/2016 07:20:22 PM
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10753.01 334821 30035905341
fiob 166.59 604.30 4079.58 1687969584 11395299639
fioc 220.68 352.40 16418.57 984334427 45861237484
sda 1.90 0.65 91.53 1814468 255672866
dm-0 1.90 0.62 91.48 1726856 255526024
dm-1 0.01 0.03 0.03 78592 96624
dm-2 0.00 0.00 0.02 2456 50200
dm-3 542.82 956.82 31251.16 2672632205 87292442464
sdb 5.20 0.57 7368.63 1589948 20582464808
dm-4 5.15 0.19 7368.63 524076 20582464808
dm-5 6.83 0.19 7368.63 523668 20582464808
11/18/2016 07:20:27 PM
avg-cpu: %user %nice %system %iowait %steal %idle
4.43 0.00 1.96 0.14 0.00 93.47
[root@rahul-linux ~]# iostat -V
sysstat version 9.0.4
(C) Sebastien Godard (sysstat <at> orange.fr)
[root@rahul-linux ~]# iostat -x
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
0.99 0.00 0.24 0.01 0.00 98.75
Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await r_await w_await svctm %util
fioa 0.00 0.00 0.00 8.73 0.12 10752.80 1232.05 0.46 173.23 0.21 173.25 0.34 0.30
fiob 0.00 0.00 3.33 163.29 611.07 4079.53 28.15 0.33 7.59 0.17 7.74 0.01 0.11
fioc 0.00 0.00 1.80 218.88 352.39 16418.47 76.00 1.03 0.49 0.19 0.49 0.06 1.24
sda 0.00 0.00 0.03 1.87 0.65 91.53 48.61 0.06 30.66 0.98 31.13 1.13 0.21
dm-0 0.00 0.00 0.03 1.87 0.62 91.48 48.60 0.06 30.65 1.00 31.10 1.10 0.21
dm-1 0.00 0.00 0.00 0.00 0.03 0.03 8.00 0.01 877.21 1.18 1589.75 8.69 0.01
dm-2 0.00 0.00 0.00 0.00 0.00 0.02 74.06 0.00 5.67 1.04 7.24 2.38 0.00
dm-3 0.00 0.00 5.13 537.72 963.58 31250.80 59.34 0.01 0.01 0.19 0.01 0.04 2.37
sdb 0.00 0.00 0.06 5.15 0.57 7375.37 1416.59 0.26 50.25 1.48 50.78 1.06 0.55
dm-4 0.00 1.69 0.01 5.15 0.19 7375.37 1429.62 0.26 51.33 1.75 51.41 1.08 0.56
dm-5 0.00 0.00 0.01 6.85 0.19 7375.37 1076.25 0.36 52.80 1.75 52.86 0.81 0.56
kB_wrtn
The total number of kilobytes written. Data displayed are
valid only with kernels 2.4 and newer.
rrqm/s
The number of read requests merged per second that were
issued to the device.
wrqm/s
The number of write requests merged per second that were
issued to the device.
r/s
The number of read requests that were issued to the
device per second.
w/s
The number of write requests that were issued to the
device per second.
rsec/s
The number of sectors read from the device per second.
wsec/s
The number of sectors written to the device per second.
rkB/s
The number of kilobytes read from the device per second.
wkB/s
The number of kilobytes written to the device per second.
avgrq-sz
The average size (in sectors) of the requests that were
issued to the device.
avgqu-sz
The average queue length of the requests that were issued
to the device.
await
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 servic-
ing them.
svctm
The average service time (in milliseconds) for I/O
requests that were issued to the device.
%util
Percentage of CPU 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%.
iostat -d 2 6
Display six reports at two second intervals for all devices.
[root@rahul-linux ~]# iostat -d 6 2 -t
Linux 3.8.13-118.13.2.el6uek.x86_64 (rahul-linux) 11/18/2016 _x86_64_ (120 CPU)
11/18/2016 07:25:11 PM
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 8.73 0.12 10751.90 335575 30035906676
fiob 166.65 619.32 4079.29 1730095952 11395684530
fioc 220.76 367.26 16418.48 1025968411 45865736276
sda 1.90 0.65 91.53 1814532 255696042
dm-0 1.90 0.62 91.48 1726856 255549200
dm-1 0.01 0.03 0.03 78656 96624
dm-2 0.00 0.00 0.02 2456 50200
dm-3 542.97 986.70 31249.67 2756393311 87297327482
sdb 5.25 0.57 7403.48 1592940 20681943282
dm-4 5.20 0.19 7403.48 526964 20681943282
dm-5 6.93 0.19 7403.52 526556 20682064482
11/18/2016 07:25:17 PM
Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
fioa 0.33 0.00 2.83 0 17
fiob 60.83 176.00 907.33 1056 5444
fioc 1781.83 273525.33 26716.00 1641152 160296
sda 5.00 0.00 552.00 0 3312
dm-0 5.00 0.00 552.00 0 3312
dm-1 0.00 0.00 0.00 0 0
dm-2 0.00 0.00 0.00 0 0
dm-3 1992.17 273701.33 27626.17 1642208 165757
sdb 311.17 5.33 252283.50 32 1513701
dm-4 311.00 4.00 252283.50 24 1513701
dm-5 527.00 4.00 238552.83 24 1431317
No comments:
Post a Comment