Skip to content

koct9i/ioping

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Signed-off-by: Konstantin Khlebnikov <koct9i@gmail.com>
9471fed

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
April 19, 2016 02:45
October 24, 2015 15:38
February 2, 2014 15:09
June 12, 2022 10:16
November 2, 2018 07:50
August 24, 2022 11:30

ioping

A tool to monitor I/O latency in real time. It shows disk latency in the same way as ping shows network latency.

Homepage: https://github.com/koct9i/ioping/ (migrated from http://code.google.com/p/ioping/)

Please send your patches, issues and questions to https://github.com/koct9i/ioping/issues/

Supported OS

  • GNU/Linux
  • GNU/HURD
  • Windows
  • OS X
  • FreeBSD
  • DragonFlyBSD
  • OpenBSD

Packages

Examples

Show disk I/O latency using the default values and the current directory, until interrupted

$ ioping .
4096 bytes from . (ext4 /dev/sda3): request=1 time=0.2 ms
4096 bytes from . (ext4 /dev/sda3): request=2 time=0.2 ms
4096 bytes from . (ext4 /dev/sda3): request=3 time=0.3 ms
4096 bytes from . (ext4 /dev/sda3): request=4 time=12.7 ms
4096 bytes from . (ext4 /dev/sda3): request=5 time=0.3 ms
^C
--- . (ext4 /dev/sda3) ioping statistics ---
5 requests completed in 4794.0 ms, 364 iops, 1.4 MiB/s
min/avg/max/mdev = 0.2/2.8/12.7/5.0 ms

Measure disk seek rate (iops, avg)

$ ioping -R /dev/sda

--- /dev/sda (device 465.8 GiB) ioping statistics ---
186 requests completed in 3004.6 ms, 62 iops, 0.2 MiB/s
min/avg/max/mdev = 6.4/16.0/26.8/4.7 ms

Measure disk sequential speed (MiB/s)

$ ioping -RL /dev/sda

--- /dev/sda (device 465.8 GiB) ioping statistics ---
837 requests completed in 3004.1 ms, 292 iops, 72.9 MiB/s
min/avg/max/mdev = 2.0/3.4/28.9/2.0 ms

Authors

Licensed under GPLv3 (or later) http://www.gnu.org/licenses/gpl-3.0.txt