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.
Options:
–version show program’s version number and ex

本文介绍了Linux系统下,除了iostat工具外,如何使用iotop来查看和监控进程的磁盘I/O活动。iotop的安装、基本使用方法以及相关选项进行了详细说明,帮助理解进程的I/O优先级和统计信息。
最低0.47元/天 解锁文章
5万+

被折叠的 条评论
为什么被折叠?



