If your Mac is experiencing random shutdowns or poor performance, a CPU stress test may help identify the cause. While there are third party utilities that can stress test your Mac, here’s how you can perform basic CPU stress testing with an easy Terminal command.