Linux Process Monitoring/pidstat CPU usage

Report CPU utilization by process.

Section: Per-Process Metrics

pidstat CPU usage

bash
bash
pidstat -u 1 5
Explanation

Report CPU utilization by process.

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 Per-Process Metrics
pidstat all processes
Sample process activity every second for five intervals.
OpenIn sheetbashsame section
pidstat memory usage
Show RSS and memory faults per process.
OpenIn sheetbashsame section
pidstat I/O usage
Show per-process block I/O activity.
OpenIn sheetbashsame section
pidstat per-thread stats
Break metrics down to thread level.
OpenIn sheetbashsame section
vmstat run queue and context switches
Inspect run queue, context switches, and system pressure.
OpenIn sheetbashsame section
Combine iostat with process view
Inspect disk pressure while correlating with pidstat or ps output.
OpenIn sheetbashsame section