Displaying Disk Utilization Information (iostat n)
Use the iostat command to report statistics about disk input and output, and produces measures of throughput, utilization, queue lengths, transaction rates, and service time. For a detailed description of this command, refer to iostat(1M).
How to Display Disk Utilization Information (iostat)
You can display disk utilization information by using the iostat command with a time interval in seconds.
| $ iostat 5
tty fd0 sd3 nfs1 nfs31 cpu tin tout kps tps serv kps tps serv kps tps serv kps tps serv us sy wt id 0 1 0 0 410 3 0 29 0 0 9 3 0 47 4 2 0 94 |
The following table describes the fields in the iostat command output.
Table 1 Output From the iostat n Command
| Device Type | Field Name | Description |
| Terminal | ||
| tin | Number of characters in the terminal input queue | |
| tout | Number of characters in the terminal output queue | |
| Disk | ||
| bps | Blocks per second | |
| tps | Transactions per second | |
| serv | Average service time, in milliseconds | |
| CPU | ||
| us | In user mode | |
| sy | In system mode | |
| wt | Waiting for I/O | |
| id | Idle |