LinuxCommandLibrary

ioping

monitors disk I/O latency in real time, similar to how ping shows network

TLDR

Measure disk latency

$ ioping [path]
copy
Run specific number of requests
$ ioping -c [10] [path]
copy
Measure with specific size
$ ioping -s [1M] [path]
copy
Measure disk seek rate
$ ioping -R [/dev/sda]
copy
Measure sequential speed
$ ioping -RL [/dev/sda]
copy
Use direct I/O
$ ioping -D [path]
copy
Quiet mode with statistics
$ ioping -q -c [100] [path]
copy

SYNOPSIS

ioping [options] path|device

DESCRIPTION

ioping monitors disk I/O latency in real time, similar to how ping shows network latency. Generates I/O patterns and measures response time. SSDs should show sub-millisecond latency; HDDs typically show a few milliseconds. High latency spikes may indicate problems.

PARAMETERS

-c count

Stop after count requests.
-s size
Request size (default 4k).
-R
Disk seek rate test.
-L
Sequential operations (default random).
-D
Use direct I/O (O_DIRECT).
-W
Use writes (dangerous for devices).
-C
Use cached I/O.
-A
Use asynchronous I/O.
-q
Quiet mode, show only summary.
-w seconds
Stop after specified time.

SEE ALSO

fio(1), iostat(1), ping(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community