command: iostat purpose: Reports Central Processing Unit (CPU) statistics, asynchronous input/output (AIO and input/output statistics for the entire system, adapters, TTY devices, disks and CD-ROMs. syntax: iostat [ -c ] [ -d ] [ -h ] [ -N ] [ -k | -m ] [ -t ] [ -V ] [ -x ] [-z ] [ device [...] | ALL ] [ -p [ device [,...] | ALL ] ] [ interval [count ] ] options: -c Display the CPU utilization report. -d Display the device utilization report. -h Make the Device Utilization Report easier to read by a human. -k Display statistics in kilobytes per second. -m Display statistics in megabytes per second. -N Display the registered device mapper names for any device mapper devices. Useful for viewing LVM2 statistics. -p [ { device [,...] | ALL } The -p option displays statistics for block devices and all their partitions that are used by the system. -t Print the time for each report displayed. The timestamp format may depend on the value of the S_TIME_FORMAT environment variable -V Print version number then exit. -x Display extended statistics. -z Tell iostat to omit output for any devices for which there was no activity during the sample period. examples: 1. To display a single history since boot report for all TTY, CPU, and Disks, type: #iostat 2. To display a continuous disk report at two second intervals for the disk with the logical name disk1, type: #iostat -d disk1 2 3. To display six reports at two second intervals for the disk with the logical name disk1, type: #iostat disk1 2 6 4. To display six reports at two second intervals for all disks, type: #iostat -d 2 6 5. To display six reports at two second intervals for three disks named disk1, disk2, disk3, type: #iostat disk1 disk2 disk3 2 6 6. To print the System throughput report since boot, type: #iostat -s 7. To print the Adapter throughput reports at 5-second intervals, type: #iostat -a 5 8. To print 10 System and Adapter throughput reports at 20-second intervals, with only the TTY and CPU report (no disk reports), type: #iostat -sat 20 10 9. To display time stamp next to each line of output of iostat, type: #iostat -T 60 10. To display 6 reports at 2-second intervals on AIO, type: #iostat -A 2 6 11. To display AIO statistics since boot for queues associated with all mounted filesystems, type: #iostat -A -Q 12. To display extended drive report for all disks, type: #iostat -D file: /usr/bin/iostat Contains the iostat command.