-
iostat
The iostat is a part of the sysstat package, which is really just a file that is read by a certain set of tools. So to install iostat, issue the command:
sudo apt install sysstat
返回参数详解。
iostat
command generally generates two reports:- CPU utilization report
- All disks i/o statistics report
To generate the reports,
iostat
command reads some of the system files:- /proc/diskstats for disk stats
- /proc/stat for system stats
- /sys for blcok device stats
- /proc/devices for persistent device names
- /proc/self/mountstats for all the network filesystems
- /proc/uptime for information regarding system uptime
-
Refereneces
- Linux Tools Quick Tutorial: iostat 监视I/O子系统
- Linux manual page: iostat(1)
- GeeksforGeeks: iostat command in Linux with examples
- Linux Techi: How to monitor Linux systems performance with iostat commnd