您现在的位置是:网站首页> 编程资料编程资料
linux iotop 安装使用教程(显示硬盘IO读写情况)_LINUX_操作系统_
2023-03-21
810人已围观
简介 linux iotop 安装使用教程(显示硬盘IO读写情况)_LINUX_操作系统_
官方的说明:
Linux has always been able to show how much I/O was going on (the bi and bo columns of the vmstat 1 command).
Iotop is a Python program with a top like UI used to show of behalf of which process is the I/O going on. It requires Python ≥ 2.7 and a Linux kernel ≥ 2.6.20 with the TASK_DELAY_ACCT CONFIG_TASKSTATS, TASK_IO_ACCOUNTING and CONFIG_VM_EVENT_COUNTERS options on.
iotop安装:
直接yum安装。
yum install iotop
在Ubuntu里安装命令是: sudo apt-get install iotop
安装好之后在终端输入:iotop就可以了
或者:
git clone git://repo.or.cz/iotop.git
iotop使用说明:
可以用左右箭头操作,按 r 是相反方向,按 o 是动态切换
用法 iotop -参数
–version 查看版本信息的
-h, –help 查看帮助信息的
-o, –only 只显示在划硬盘的程序
-b, –batch 批量处理 用来记录日志的
-n NUM 设定循环几次
-d SEC, –delay=SEC 设定显示时间间隔
相关内容
- linux find中的-print0和xargs中-0的奥妙_LINUX_操作系统_
- Linux下配置rdate时间服务器的方法_LINUX_操作系统_
- linux清理swap和buffer/cache的方法_LINUX_操作系统_
- 在Linux中挂载ISO文件的两种方法(mount命令与mount软件)_LINUX_操作系统_
- 在Linux系统中为Firefox安装最新版flash插件的方法_LINUX_操作系统_
- 3种方法教你Linux如何进入终端界面_LINUX_操作系统_
- Linux平台上的多种软件安装方式与更友好的包管理相关软件介绍 _LINUX_操作系统_
- Linux的系统的安全如何保障?保护Linux系统安全的九个常用方法_LINUX_操作系统_
- 系统强化 指点你怎样强化Linux安全_LINUX_操作系统_
- linux下的删除重复行命令uniq详细介绍和实例_LINUX_操作系统_
