2008-02-08 18:10:56 +08:00
|
|
|
What: /proc/diskstats
|
|
|
|
Date: February 2008
|
|
|
|
Contact: Jerome Marchand <jmarchan@redhat.com>
|
|
|
|
Description:
|
|
|
|
The /proc/diskstats file displays the I/O statistics
|
|
|
|
of block devices. Each line contains the following 14
|
|
|
|
fields:
|
2018-07-18 19:47:40 +08:00
|
|
|
|
2008-02-08 18:10:56 +08:00
|
|
|
1 - major number
|
|
|
|
2 - minor mumber
|
|
|
|
3 - device name
|
tree-wide: fix assorted typos all over the place
That is "success", "unknown", "through", "performance", "[re|un]mapping"
, "access", "default", "reasonable", "[con]currently", "temperature"
, "channel", "[un]used", "application", "example","hierarchy", "therefore"
, "[over|under]flow", "contiguous", "threshold", "enough" and others.
Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2009-11-14 23:09:05 +08:00
|
|
|
4 - reads completed successfully
|
2008-02-08 18:10:56 +08:00
|
|
|
5 - reads merged
|
|
|
|
6 - sectors read
|
|
|
|
7 - time spent reading (ms)
|
|
|
|
8 - writes completed
|
|
|
|
9 - writes merged
|
|
|
|
10 - sectors written
|
|
|
|
11 - time spent writing (ms)
|
|
|
|
12 - I/Os currently in progress
|
|
|
|
13 - time spent doing I/Os (ms)
|
|
|
|
14 - weighted time spent doing I/Os (ms)
|
2018-07-18 19:47:40 +08:00
|
|
|
|
|
|
|
Kernel 4.18+ appends four more fields for discard
|
|
|
|
tracking putting the total at 18:
|
|
|
|
|
|
|
|
15 - discards completed successfully
|
|
|
|
16 - discards merged
|
|
|
|
17 - sectors discarded
|
|
|
|
18 - time spent discarding
|
|
|
|
|
2019-06-28 01:56:51 +08:00
|
|
|
For more details refer to Documentation/admin-guide/iostats.rst
|