Display CPU usage by processor.
Section: Performance Monitoring and Troubleshooting
Show per-CPU stats
bash
bash
mpstat -P ALL 1 5Explanation
Useful when one core is pegged but system average looks fine.
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