{"id":91464,"date":"2024-03-13T09:51:11","date_gmt":"2024-03-13T01:51:11","guid":{"rendered":"http:\/\/lrxjmw.cn\/?p=91464"},"modified":"2024-03-13T09:51:11","modified_gmt":"2024-03-13T01:51:11","slug":"hdd-iotop-tools","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/hdd-iotop-tools.html","title":{"rendered":"\u5b9e\u7528\u7684\u786c\u76d8\u64cd\u4f5c\u67e5\u770b\u5de5\u5177iotop"},"content":{"rendered":"
\u5982\u679c\u4f60\u77e5\u9053\u6709\u7a0b\u5e8f\u5728\u78e8\u4f60\u7684\u786c\u76d8\uff0c\u4f46\u662f\u4f60\u53c8\u4e0d\u80fd\u786e\u5b9a\u662f\u54ea\u4e00\u4e2a\u7a0b\u5e8f\u5728\u78e8\u4f60\u7684\u786c\u76d8\uff0c\u90a3\u4e48\u5c31\u7528 iotop\u6765\u5e2e\u52a9\u4f60\u5427\u3002<\/p>\n
\u5728Ubuntu\u91cc\u5b89\u88c5\u547d\u4ee4\u662f\uff1a <\/p>\n
sudo apt-get install iotop<\/pre>\n\u5b89\u88c5\u597d\u4e4b\u540e\u5728\u7ec8\u7aef\u8f93\u5165\uff1aiotop\u5c31\u53ef\u4ee5\u4e86<\/p>\n
<\/p>\n
\u4e0b\u9762\u6765\u8bf4\u4e00\u5177\u4f53\u8fd0\u7528\uff1a<\/p>\n
\u53ef\u4ee5\u7528\u5de6\u53f3\u7bad\u5934\u64cd\u4f5c\uff0c\u6309 r \u662f\u76f8\u53cd\u65b9\u5411\uff0c\u6309 o \u662f\u52a8\u6001\u5207\u6362<\/p>\n
\u7528\u6cd5 iotop -\u53c2\u6570<\/p>\n
\u2013version \u67e5\u770b\u7248\u672c\u4fe1\u606f\u7684<\/p>\n
-h, \u2013help \u67e5\u770b\u5e2e\u52a9\u4fe1\u606f\u7684<\/p>\n
-o, \u2013only \u53ea\u663e\u793a\u5728\u5212\u786c\u76d8\u7684\u7a0b\u5e8f<\/p>\n
-b, \u2013batch \u6279\u91cf\u5904\u7406 \u7528\u6765\u8bb0\u5f55\u65e5\u5fd7\u7684<\/p>\n
-n NUM \u8bbe\u5b9a\u5faa\u73af\u51e0\u6b21<\/p>\n
-d SEC, \u2013delay=SEC \u8bbe\u5b9a\u663e\u793a\u65f6\u95f4\u95f4\u9694<\/p>\n
\n\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/www.oschina.net\/p\/iotop<\/a><\/p>\n