简体   繁体   English

测量读/写磁盘利用率

[英]Measure read/write disk utilisation

I want to measure the read disk utilisation and write disk utilisation. 我想测量读取磁盘利用率和写入磁盘利用率。
I used iostat and sar but they give Total utilisation (in field %util) which includes read and write. 我使用了iostatsar,但它们给出了总利用率(在字段%util中),其中包括读取和写入。

Resutls using iostat and sar in my computer 在我的电脑中使用iostatsar的结果

But I want to know how to calculate the percentage/utilisation of only read or write separately. 但我想知道如何分别计算只读或写的百分比/利用率。

There is a tool called atop that shows separate read and write numbers. 有一个名为atop的工具,显示单独的读写数字。

You can get its source code and modify to produce the numbers you want. 您可以获取其源代码并进行修改以生成所需的数字。

在顶上

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM