iostat

 

root@(none):~# iostat -d -m 1 2
Linux 3.13.0-65-generic ((none)) 	06/06/2016 	_x86_64_	(1 CPU)

Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
xvda              0.84         0.00         0.02       4377      34575

Device:            tps    MB_read/s    MB_wrtn/s    MB_read    MB_wrtn
xvda              0.00         0.00         0.00          0          0

 注:参数 -d 表示,显示设备(磁盘)使用状态;-m某些使用block为单位的列强制使用megabytes为单位;1表示,数据显示每隔1秒刷新一次,2是表示一共刷新2次。

posted @ 2016-06-06 11:45  bass  阅读(214)  评论(0编辑  收藏  举报