measuring exact IO wait:LINUX

iostat - Report Central Processing Unit (CPU) statistics and input/output statistics for devices and partitions.

We can get detailed report from iostat with N for LABEL.

# iostat -xN 1

Device:         rrqm/s   wrqm/s     r/s     w/s   rsec/s   wsec/s avgrq-sz avgqu-sz   await  svctm  %util
sda               0.00     4.00   51.00    2.00 11640.00    48.00   220.53     0.08    1.49   1.42   7.50
zz_root     0.00     0.00    2.00    6.00    48.00    48.00    12.00     0.00    0.00   0.00   0.00
yyy_swap     0.00     0.00    0.00    0.00     0.00     0.00     0.00     0.00    0.00   0.00   0.00
xxxxx_home     0.00     0.00   49.00    0.00 11592.00     0.00   236.57     0.08    1.61   1.53   7.50

fuser: command lists the process numbers of local processes that use the local or remote files specified by the File parameter.

-v        verbose output
-m        show all processes using the named filesystems

# fuser -vm xxxxx_home


Comments

Popular posts from this blog

yum failed 6 times. Cannot continue!

Resolved: DOCKER: Error response from daemon: Could not attach to network / rpc error: code = 7 desc = network not manually attachable.

unexpectedly shrunk window (repaired) in dmesg log - TCP Peer