-bash: iostat: command not found a solution

[root@testhost ~]# iostat
-bash: iostat: command not found

IOSTAT command is not available, first confirm sysstat package is installed, the package comprises sysstat iostat, mpstat, sar, sa

[root@testhost ~]#yum install -y sysstat

After installation is complete, and then execute the command iostat.

 

Explanation:

avg-cpu segment:
% User: the percentage of CPU user level run used.
% nice: Percentage nice operation used by the CPU.
% SYS: percentage CPU utilization in the system level (Kernel) run.
% iowait: when the CPU waits for the hardware I / O, the CPU percentage occupied.
% iDLE: the percentage of CPU idle time.


Device segment:
TPS: per second sent to the I / O requests.
Block number of reads per second: Blk_read / S.
Blk_wrtn / S: block number written per second.
Blk_read: The total number of read block.
Blk_wrtn : total block written.

Guess you like

Origin www.cnblogs.com/insane-Mr-Li/p/11209363.html