Linux Command Cheat Sheet/Show CPU and disk IO stats

Report CPU utilization and block-device performance.

Section: Performance Monitoring and Troubleshooting

Show CPU and disk IO stats

bash
bash
iostat -xz 1 5
Explanation

Useful for diagnosing disk saturation and queue depth.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Performance Monitoring and Troubleshooting
Find files by size
Locate large files with size filters.
OpenIn sheetbash1 tag match
Show disk usage by path
Estimate file and directory sizes.
OpenIn sheetbash1 tag match
Show filesystem free space
Display mounted filesystems and free space.
OpenIn sheetbash1 tag match
Print working directory
Show the current absolute path.
Create file or update timestamp
Create an empty file if it does not exist.
Print file contents
Concatenate and print files to standard output.