Sample process activity every second for five intervals.
Section: Per-Process Metrics
pidstat all processes
bash
bash
pidstat 1 5Explanation
Sample process activity every second for five intervals.
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
vmstat run queue and context switches
Inspect run queue, context switches, and system pressure.
Combine iostat with process view
Inspect disk pressure while correlating with pidstat or ps output.