mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![Mauro Carvalho Chehab](/assets/img/avatar_default.png)
There are lots of documents that belong to the admin-guide but are on random places (most under Documentation root dir). Move them to the admin guide. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Acked-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Acked-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
32 lines
875 B
Text
32 lines
875 B
Text
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:
|
|
|
|
1 - major number
|
|
2 - minor mumber
|
|
3 - device name
|
|
4 - reads completed successfully
|
|
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)
|
|
|
|
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
|
|
|
|
For more details refer to Documentation/admin-guide/iostats.rst
|