Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to measure disk activity through the Linux command

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly shows you "how to measure disk activity through the Linux command", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to measure disk activity through the Linux command" this article.

Two of these commands (iostat and ioping) may have to be added to your system, both of which also require you to use sudo privileges, and all five commands provide a useful way to view disk activity.

Probably the simplest and most intuitive of these commands is dstat.

Dtstat

Although the dstat command begins with the letter "d", it provides statistics that go far beyond disk activity. If you only want to see disk activity, you can use the-d option. As shown below, you will get a continuous list of disk read / write measurements until the display is stopped using CTRL-c. Note that after the first report information, each subsequent line in the display will report disk activity in the next interval, with a default value of only one second.

$dstat-dmurdskamp read writ-read writ 949B 73k 65k 0 < = first second 0 24k

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report