文章预览
转自:http://bean-li.github.io/dive-into-iostat/ 作者:manuscola 前言 iostat算是比较重要的查看块设备运行状态的工具,相信大多数使用Linux的同学都用过这个工具,或者听说过这个工具。但是对于这个工具,引起的误解也是最多的,大多数人对这个工具处于朦朦胧胧的状态。现在我们由浅到深地介绍这个工具,它输出的含义什么,介绍它的能力边界,介绍关于这个工具的常见误解。 基本用法和输出的基本含义 iostat的用法比较简单,一般来说用法如下: iostat -mtx 2 含义是说,每2秒钟采集一组数据: -m Display statistics in megabytes per second.
-t Print the time for each report displayed. The timestamp format may depend on the value of the S_TIME_FORMAT environment variable ( see below ) .
-x Display exte
………………………………