The iostat command is used to check disk input/output statistics in real time. The iostat utility is installed with yum via the sysstat package as shown below.
- yum install sysstat
Issuing this command will look similar to the below and provide the iostat command when finished.
- [root@server ~]# yum install sysstat
- Loading "installonlyn" plugin
- Setting up Install Process
- Setting up repositories
- Reading repository metadata in from local files
- Parsing package install arguments
- Resolving Dependencies
- --> Populating transaction set with selected packages. Please wait.
- ---> Downloading header for sysstat to pack into transaction set.
- sysstat-7.0.2-1.el5.x86_6 100% |=========================| 15 kB 00:00
- ---> Package sysstat.x86_64 0:7.0.2-1.el5 set to be updated
- --> Running transaction check
- Dependencies Resolved
- =============================================================================
- Package Arch Version Repository Size
- =============================================================================
- Installing:
- sysstat x86_64 7.0.2-1.el5 base 173 k
- Transaction Summary
- =============================================================================
- Install 1 Package(s)
- Update 0 Package(s)
- Remove 0 Package(s)
- Total download size: 173 k
- Is this ok [y/N]: y
- Downloading Packages:
- (1/1): sysstat-7.0.2-1.el 100% |=========================| 173 kB 00:00
- Running Transaction Test
- Finished Transaction Test
- Transaction Test Succeeded
- Running Transaction
- Installing: sysstat ######################### [1/1]
- Installed: sysstat.x86_64 0:7.0.2-1.el5
- Complete!
More information on using iostat can be found here.