diff options
Diffstat (limited to 'Documentation/ABI/testing/sysfs-block')
-rw-r--r-- | Documentation/ABI/testing/sysfs-block | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/sysfs-block b/Documentation/ABI/testing/sysfs-block new file mode 100644 index 000000000000..4bd9ea539129 --- /dev/null +++ b/Documentation/ABI/testing/sysfs-block | |||
@@ -0,0 +1,28 @@ | |||
1 | What: /sys/block/<disk>/stat | ||
2 | Date: February 2008 | ||
3 | Contact: Jerome Marchand <jmarchan@redhat.com> | ||
4 | Description: | ||
5 | The /sys/block/<disk>/stat files displays the I/O | ||
6 | statistics of disk <disk>. They contain 11 fields: | ||
7 | 1 - reads completed succesfully | ||
8 | 2 - reads merged | ||
9 | 3 - sectors read | ||
10 | 4 - time spent reading (ms) | ||
11 | 5 - writes completed | ||
12 | 6 - writes merged | ||
13 | 7 - sectors written | ||
14 | 8 - time spent writing (ms) | ||
15 | 9 - I/Os currently in progress | ||
16 | 10 - time spent doing I/Os (ms) | ||
17 | 11 - weighted time spent doing I/Os (ms) | ||
18 | For more details refer Documentation/iostats.txt | ||
19 | |||
20 | |||
21 | What: /sys/block/<disk>/<part>/stat | ||
22 | Date: February 2008 | ||
23 | Contact: Jerome Marchand <jmarchan@redhat.com> | ||
24 | Description: | ||
25 | The /sys/block/<disk>/<part>/stat files display the | ||
26 | I/O statistics of partition <part>. The format is the | ||
27 | same as the above-written /sys/block/<disk>/stat | ||
28 | format. | ||