44 lines · plain
1What: /proc/diskstats2Date: February 20083Contact: Jerome Marchand <jmarchan@redhat.com>4Description:5 The /proc/diskstats file displays the I/O statistics6 of block devices. Each line contains the following 147 fields:8 9 == ===================================10 1 major number11 2 minor number12 3 device name13 4 reads completed successfully14 5 reads merged15 6 sectors read16 7 time spent reading (ms)17 8 writes completed18 9 writes merged19 10 sectors written20 11 time spent writing (ms)21 12 I/Os currently in progress22 13 time spent doing I/Os (ms)23 14 weighted time spent doing I/Os (ms)24 == ===================================25 26 Kernel 4.18+ appends four more fields for discard27 tracking putting the total at 18:28 29 == ===================================30 15 discards completed successfully31 16 discards merged32 17 sectors discarded33 18 time spent discarding34 == ===================================35 36 Kernel 5.5+ appends two more fields for flush requests:37 38 == =====================================39 19 flush requests completed successfully40 20 time spent flushing41 == =====================================42 43 For more details refer to Documentation/admin-guide/iostats.rst44