IOPING(1) IOPING(1) (NAME) ioping - / (SYNOPSIS) ioping [-ABCDJLNRWGYykq] [-a count] [-b count] [-c count] [-e seed] [-i interval] [-l speed] [-r rate] [-t time] [-T time] [-s size] [-S wsize] [-o offset] [-w deadline] [-p period] [-P period] [-I [format]] directory|file|device ioping -h | -v (DESCRIPTION) / (I/O) / . (OPTIONS) -a, -warmup count count 1 . . -b, -burst count count 0 . . -c, -count count count 0 () . -e, -entropy seed (seed) 0 () . -i, -interval time (time) 1s ( ) . -l, -speed-limit size size . . -r, -rate-limit count count . . -t, -min-time time (0us). . -T, -max-time time . . -s, -size size 4k . -S, -work-size size (1m ). -o, -work-offset size ( 0). -w, -work-time time time 0 () . -p, -print-count count count ( ). -P, -print-interval time time. -A, -async / ( io_setup(2) io_submit(2) ). -B, -batch (Batch). . -C, -cached / . () posix_fadvise(2) fdatasync(2) . -D, -direct / ( O_DIRECT open(2) ). -I, -time [format] . strftime(3) "%b %d %T" ( Jan 01 00:00:00) . -J, -json JSON. -L, -linear . 256k ( -size 256k). -N, -nowait RWF_NOWAIT / ( RWF_NOWAIT preadv2(2) ). -R, -rapid -linear. ( -quiet) (-interval 0) (-work-time 3) 64m (-work-size 64m). (-work-size) . -W, -write . . / . ** : . (-WWW). -G, -read-write . -Y, -sync / ( O_SYNC open(2) ). -y, -dsync / ( O_DSYNC open(2) ). -k, -keep "ioping.tmp" ( ). -q, -quiet . -h, -help . -v, -version . (Argument suffixes) (-interval -print-interval -work-time) ( ): ns, nsec ( 1 / 1 000 000 000) us, usec ( 1 / 1 000 000) ms, msec ( 1 / 1 000) s, sec m, min h, hour (-size -speed-limit -work-size -work-offset) ( ): sector ( ). KiB, k, kb (1 024 ) page ( 4KiB ). MiB, m, mb (1 048 576 ) GiB, g, gb (1 073 741 824 ) TiB, t, tb (1 099 511 627 776 ) (-count -print-count) ( ): k ( 1 000) m ( 1 000 000) g ( 1 000 000 000) t ( 1 000 000 000 000) (EXIT STATUS) 0 . : 1 ( ). 2 . 3 . (RAW STATISTICS) ioping -print-count 100 -count 200 -interval 0 -quiet . 99 10970974 9024 36961531 90437 110818 358872 30756 100 12516420 100 9573265 10446 42785821 86849 95733 154609 10548 100 10649035 (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (1) (2) () (3) (iops) (4) ( ) (5) () (6) () (7) () (8) () (9) ( ) (10) () JSON (JSON OUTPUT) -J|--json ioping JSON : [ ... { // timestamps "timestamp": (unix time in seconds as float), "localtime": (local time ISO 8601), // io target "target": { "path": (target path), "fstype": (filesystem name), "device": (device name), "device_size": (device size in bytes) }, // io request "io": { "request": (request index), "operation": (request type: "read" | "write"), "size": (request size in bytes), "time": (io time in ns), "ignored": (ignored in statistics: true | false) }, // statistics "stat": { "count": (nr requests), "size": (total io size in bytes), "time": (total io time in ns), "iops": (avg iops), "bps": (avg rate), "min": (min io time in ns), "avg": (avg io time in ns), "max": (max io time in ns), "mdev": (standard deviation in ns) }, // load statistics "load": { "count": (nr requests), "size": (total io size in bytes), "time": (total real time in ns), "iops": (avg iops), "bps": (avg rate) } }, ... ] (EXAMPLES) ioping . / . (/) . ioping -c 10 -s 1M /tmp /tmp . ioping -R /dev/sda (seek rate) . ioping -RL /dev/sda . ioping -RLB . | awk '{print $4}' . ioping -J . | jq -r --stream 'fromstream(1|truncate_stream(inputs)) | [.localtime, .io.time/1000000] | @tsv' / JSON. (SEE ALSO) iostat(1), dd(1), fio(1), stress(1), stress-ng(1), dbench(1), sysbench(1), fsstress(1), xfstests(1), hdparm(8), badblocks(8) (HOMEPAGE) (AUTHORS) Konstantin Khlebnikov . Kir Kolyshkin . Oct 2014 IOPING(1)