10e53c2beSJerome MarchandWhat:		/proc/diskstats
20e53c2beSJerome MarchandDate:		February 2008
30e53c2beSJerome MarchandContact:	Jerome Marchand <jmarchan@redhat.com>
40e53c2beSJerome MarchandDescription:
50e53c2beSJerome Marchand		The /proc/diskstats file displays the I/O statistics
60e53c2beSJerome Marchand		of block devices. Each line contains the following 14
70e53c2beSJerome Marchand		fields:
8bdca3c87SMichael Callahan
90e53c2beSJerome Marchand		 1 - major number
100e53c2beSJerome Marchand		 2 - minor mumber
110e53c2beSJerome Marchand		 3 - device name
12af901ca1SAndré Goddard Rosa		 4 - reads completed successfully
130e53c2beSJerome Marchand		 5 - reads merged
140e53c2beSJerome Marchand		 6 - sectors read
150e53c2beSJerome Marchand		 7 - time spent reading (ms)
160e53c2beSJerome Marchand		 8 - writes completed
170e53c2beSJerome Marchand		 9 - writes merged
180e53c2beSJerome Marchand		10 - sectors written
190e53c2beSJerome Marchand		11 - time spent writing (ms)
200e53c2beSJerome Marchand		12 - I/Os currently in progress
210e53c2beSJerome Marchand		13 - time spent doing I/Os (ms)
220e53c2beSJerome Marchand		14 - weighted time spent doing I/Os (ms)
23bdca3c87SMichael Callahan
24bdca3c87SMichael Callahan		Kernel 4.18+ appends four more fields for discard
25bdca3c87SMichael Callahan		tracking putting the total at 18:
26bdca3c87SMichael Callahan
27bdca3c87SMichael Callahan		15 - discards completed successfully
28bdca3c87SMichael Callahan		16 - discards merged
29bdca3c87SMichael Callahan		17 - sectors discarded
30bdca3c87SMichael Callahan		18 - time spent discarding
31bdca3c87SMichael Callahan
324f4cfa6cSMauro Carvalho Chehab		For more details refer to Documentation/admin-guide/iostats.rst
33