Break metrics down to thread level.
Section: Per-Process Metrics
pidstat per-thread stats
bash
bash
pidstat -t -u 1 5Explanation
Break metrics down to thread level.
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.
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.