procfs-diskstats 863 B

1234567891011121314151617181920212223242526272829303132
  1. What: /proc/diskstats
  2. Date: February 2008
  3. Contact: Jerome Marchand <jmarchan@redhat.com>
  4. Description:
  5. The /proc/diskstats file displays the I/O statistics
  6. of block devices. Each line contains the following 14
  7. fields:
  8. 1 - major number
  9. 2 - minor mumber
  10. 3 - device name
  11. 4 - reads completed successfully
  12. 5 - reads merged
  13. 6 - sectors read
  14. 7 - time spent reading (ms)
  15. 8 - writes completed
  16. 9 - writes merged
  17. 10 - sectors written
  18. 11 - time spent writing (ms)
  19. 12 - I/Os currently in progress
  20. 13 - time spent doing I/Os (ms)
  21. 14 - weighted time spent doing I/Os (ms)
  22. Kernel 4.18+ appends four more fields for discard
  23. tracking putting the total at 18:
  24. 15 - discards completed successfully
  25. 16 - discards merged
  26. 17 - sectors discarded
  27. 18 - time spent discarding
  28. For more details refer to Documentation/iostats.txt