1 What: /proc/diskstats 1 What: /proc/diskstats 2 Date: February 2008 2 Date: February 2008 3 Contact: Jerome Marchand <jmarchan@redha 3 Contact: Jerome Marchand <jmarchan@redhat.com> 4 Description: 4 Description: 5 The /proc/diskstats file displ 5 The /proc/diskstats file displays the I/O statistics 6 of block devices. Each line co 6 of block devices. Each line contains the following 14 7 fields: 7 fields: 8 8 9 == ========================== !! 9 1 - major number 10 1 major number !! 10 2 - minor mumber 11 2 minor number !! 11 3 - device name 12 3 device name !! 12 4 - reads completed successfully 13 4 reads completed successful !! 13 5 - reads merged 14 5 reads merged !! 14 6 - sectors read 15 6 sectors read !! 15 7 - time spent reading (ms) 16 7 time spent reading (ms) !! 16 8 - writes completed 17 8 writes completed !! 17 9 - writes merged 18 9 writes merged !! 18 10 - sectors written 19 10 sectors written !! 19 11 - time spent writing (ms) 20 11 time spent writing (ms) !! 20 12 - I/Os currently in progress 21 12 I/Os currently in progress !! 21 13 - time spent doing I/Os (ms) 22 13 time spent doing I/Os (ms) !! 22 14 - weighted time spent doing I/Os (ms) 23 14 weighted time spent doing << 24 == ========================== << 25 23 26 Kernel 4.18+ appends four more 24 Kernel 4.18+ appends four more fields for discard 27 tracking putting the total at 25 tracking putting the total at 18: 28 26 29 == ========================== !! 27 15 - discards completed successfully 30 15 discards completed success !! 28 16 - discards merged 31 16 discards merged !! 29 17 - sectors discarded 32 17 sectors discarded !! 30 18 - time spent discarding 33 18 time spent discarding << 34 == ========================== << 35 << 36 Kernel 5.5+ appends two more f << 37 << 38 == ========================== << 39 19 flush requests completed s << 40 20 time spent flushing << 41 == ========================== << 42 31 43 For more details refer to Docu 32 For more details refer to Documentation/admin-guide/iostats.rst
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.