Linux Commands Reference - Complete Linux Command Guide

Comprehensive Linux command reference with 150+ commands. Search, filter by category, and view detailed usage examples.

Share
Back to commands

iostat

Show CPU and I/O statistics

Syntax

iostat [OPTION]... [DEVICE]... [DELAY [COUNT]]

Common Options

-cShow CPU stats only
-dShow device stats only
-xShow extended stats
-kShow in KB/s
-mShow in MB/s
-pShow partition stats

Common Examples

iostat

Show CPU and I/O stats

iostat -x 2

Extended stats every 2s

iostat -d sda

Show sda I/O stats only

iostat -c 1 5

CPU stats every 1s, 5 times

iostat -x -k

Extended stats in KB

Related Commands

Related Tools

More Code & Dev Tools