We can monitor I/O activity in linux box using iotop and iostat commands
Use the below command to install iotop in linux system. To install iotop to RHEL/Centos/Scientific Linux, probably you need to enable EPL or REPOFORGE or REMI repository because there is no official package on this.
# Install iotop on Ubuntu/Debian/LinuxMint #
$ sudo apt-get install iotop
# Install iotop on RHEL/Centos/SL/Fedora 21 & older systems #
# yum install iotop
# Install iotop on Fedora 22 & later systems #
# dnf install iotop
# Install iotop on openSUSE #
# zypper install iotop
Use the iotop command to monitor disk I/O on individual process. This tool output smiler to top command
$ iotop -o
Use the below command to install iostat in linux system. You have to install sysstat because iostat is part of sysstat package.
# Install iostat in Ubuntu/Debian/LinuxMint #
$ sudo apt-get install sysstat
# Install iostat on RHEL/Centos/SL/Fedora 21 & older systems #
# yum install sysstat
# Install iostat on Fedora 22 & later systems #
# dnf install sysstat
# Install iostat on openSUSE #
# zypper install sysstat
To print individual hard disk I/O activity, use the iostat command
$ iostat -dx 5
Please do contact us at [email protected] if you require any further assistance.
Comments are closed.