LINUX 下看IO,除了元生工具iostat外,可以安装另外一个工具:iotop 来看io 动作
1.安装
使用之前,需要先安装
yum install iotop
2.使用
#iotop
有点像 TOP哈
3.用法
[root@dbserver ~]# iotop -h
Usage: /usr/sbin/iotop [OPTIONS]
DISK READ and DISK WRITE are the block I/O bandwidth used during the sampling
period. SWAPIN and IO are the percentages of time the thread spent respectively
while swapping in and waiting on I/O more generally. PRIO is the I/O priority at
which the thread is running (set using the ionice command).
Controls: left and right arrows to change the sorting column, r to invert the
sorting order, o to toggle the --only option, p to toggle the --processes
option, a to toggle the --accumulated option, i to change I/O priority, q to
quit, any other key to force a refresh.