Requirements Description :
In the test environment today, prepare to view the IO used by each thread of MySQL, ready to use the Iotop command to view it, and find that there is no such command
[email protected] packages]# iotop-bash:iotop:command not found
Problem solving
1. Mount the system image, locate the Iotop RPM package, and then install
[email protected] packages]# iotop-Bash:iotop:command not found[[email protected] packages]#ls-L Iostopls: Cannot access iostop:no suchfileor Directory[[email protected] packages]#ls-L iotop*-r--r--r--478Root root51120Sep + -iotop-0.3.2-7. el6.noarch.rpm #Packages目录中的RPM包[[email protected] packages]# rpm-IVH iotop-0.3.2-7. el6.noarch.rpm warning:iotop-0.3.2-7. El6.noarch.rpm:Header V3 rsa/SHA256 Signature, key ID fd431d51:nokeypreparing ... ########################################### [ -%] 1: Iotop ########################################### [ -%]
Note: After the installation is complete, you can use the Iotop command.
Document creation time: August 14, 2018 17:21:20
Install the Iotop command in a Linux environment to resolve-bash:iotop:command not found issues