/proc/diskstats解释


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
==  ===================================

Kernel 5.5+ appends two more fields for flush requests:

==  =====================================
19  flush requests completed successfully
20  time spent flushing
==  =====================================
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容