Showing posts with label tutorial. Show all posts
Showing posts with label tutorial. Show all posts

Monday, October 29, 2012

Installing iostat and its uses

iostat

The iostat utility is installed with yum via the sysstat package as shown below.

#yum install sysstat

The iostat command in is used to monitor the system I/O device.

Command
# iostat [interval [count] ]


The iostat command will generates two reports, one for CPU  and one for device. Using -c option will genertate CPU report and -d option will generate device report.


View only CPU report.
iostat –c

View only device report
iostat -d


Runnig iostat every 5 seconds for 10 times
iostat 5 10   
Powered By Blogger

Followers