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