iostat
Use iostat to display informations about CPU statistics, input/output statistics for devices, partitions and network filesystems (NFS).
The basic syntax for the iostat command is:
iostat [delay [count]]
- delay
- The delay between updates in seconds. If no delay is specified, only one report is printed with the average values since boot.
- count
- Number of iterations. If no count is specified and delay is specified on command line, count defaults to infinity.
Reports from iostat | Command |
---|---|
Report CPU statistics (one iteration): | iostat |
Report disk statistics every 1 second, 10 iterations | iostat -d 1 10 |
Report extended disk statistics | iostat -dx |
Report disk statistics for /dev/sda1 partition | iostat -d sda |
Report network filesystem (NFS) statistics | iostat -n |