首页  

proc diskstats 字段说明     所属分类 linux 浏览量 1168
总共14个列 (有些可能只有11列,没有前三列)
前三列 主设备号,次设备号和设备名称

id1 id2 name 

除了第12列 正在处理的输入/输出请求数 ,其余均为累计值

第4列
读完成次数 读磁盘的次数,成功完成读的总次数。totalRead
(number of issued reads. This is the total number of reads completed successfully.)

5 合并读完成次数  totalMergeRead

合并相邻的读和写,提升读写效率

6 读扇区的次数   readSectors
number of sectors read. This is the total number of sectors read successfully.

sector block 


7 读花费的毫秒数  totalReadTime  
所有读操作所花费的毫秒数
This is the total number of milliseconds spent by all reads (as measured from __make_request() to end_that_request_last()).

8 写完成次数 totalWrite 

number of writes completed. This is the total number of writes completed successfully.

9 合并写完成次数 totalMergeWrite


10 写扇区次数  writeSectors 

11 写操作花费的毫秒数  totalWriteTime

12 正在处理的输入/输出请求数  requests
   请求被交给request_queue_t时增加,请求完成时减小。
   
   只有该值不是累计值 
   
13 输入/输出操作花费的毫秒数 totalReqTime
   

14 输入/输出操作花费的加权毫秒数  totalWeightReqTime

   加权, 花在I/O操作上的毫秒数,在每次I/O开始,I/O结束,I/O合并时这个域都会增加。这可以给I/O完成时间和存储那些可以累积的提供一个便利的测量标准。
    
   

zabbix 磁盘使用率
两次采集的输入/输出操作花费的毫秒数之差 / 采集间隔时间


   8       0 sda 20690 10 951293 110696 5285677 71305 1360520921 103283461 0 873680 103392304
   8       1 sda1 22 0 176 23 0 0 0 0 0 23 23
   8       2 sda2 1884 0 24725 340 2157 3 38195 134 0 392 473
   8       3 sda3 18756 10 924312 110083 5283520 71302 1360482726 103283327 0 873588 103391559
 259       0 nvme0n1 43 0 2120 11 0 0 0 0 0 6 11

上一篇     下一篇
Class.forName()和ClassLoader.loadClass()的区别

getResource和getSystemResource的区别

spring常用注解

FileInputStream无法读取完整数据问题解决

Java GC种类及配置说明

LSM Tree 要点整理