Yes > /dev/null & yes > /dev/null & yes > /dev/null & yes > /dev/null &ĭid that command look familiar? It should. Yet again, I’ll launch Terminal, and this time I’ll enter the following command and then press the Return key on my keyboard: Now that you know I’m using a quad-core Mac, I’ll go ahead and show you how I can stress test all four cores at once. As you can see, after using this command, ‘yes’ no longer appears in Activity Monitor: How to stress test multiple CPU cores on your Mac This command kills all instances of ‘yes’ running on the machine, returning your CPU to an idle or low-power state. The next thing you’ll do is kill the ‘yes’ instance you created by entering the following command in Terminal and then pressing the Return key on your keyboard: Is it starting to make sense now? If so, good, because next, we’re going to show you how to stress test multiple CPU cores at once. This is because I’m using a quad-core Mac that supports hyper-threading, which means I have up to 8 “cores,” and 100% divided by 8 cores = ~12%. Although this occurrence of ‘yes’ shows 100% CPU usage, if you look at the graph at the bottom of Activity Monitor, you’ll see it’s only using about 12% of my Mac’s entire system resources. To confirm, you can head over to Activity Monitor to see what this command is doing:Īs you can see, there is one occurrence of ‘yes’ in the Activity Monitor too. Terminal will show you process of ‘yes’ occurring on your Mac. With the app open, type the following command and then press the return key on your keyboard. Start by launching the Terminal app on your Mac. We’ll first take you through maxing out a single processor core, and then we’ll move on from there. It even shows how many individual threads and processes are running at a given time.Īs we go through these tests, you’ll watch Activity Monitor closely to understand how this command pegs out your CPU to its maximum capacity. At the bottom of the window, you can see a graph that shows the CPU load, as well as how much of the system is idle, how much is being used by the user, and how much is being used by the system. This window lets you see all the processes that are running on your computer in real-time. To start, go ahead and launch the Activity Monitor app on your Mac before starting the Terminal commands, and open the CPU tab so you can view your CPU usage. You’ll be using Terminal to perform the commands for the stress test, and you’ll be using Activity Monitor so you can monitor your CPU usage throughout it all. You’ll only be using two applications that come with your Mac out of the box – Activity Monitor and Terminal. No fancy software is required to stress test your Mac. After all, just a weak connection or solder point somewhere can cause issues down the line. Likewise, if your Mac is running really slow and you know it’s not a software problem because you’ve tried everything, including updating to the latest available version of macOS and a system restore, then you might try this test to see if your CPU is failing. A bad cooling fan will further damage your CPU as you keep it going in that state, so you might want to get that fixed pronto! If your Mac is getting really hot all the time, you might use this test to check and see if a cooling fan is doing its job or not. This process should work on any Mac model. Likewise, if your fans can’t keep your computer cool and it shuts off due to heat, you may need a fan replacement. If the processor fails to keep a steady 100% load during the test, you could have a faulty processor. It’s a quick and simple test that will bring your Mac’s CPU usage up to 100% so that your CPUs will show whether or not they can handle the load, and your cooling fans will show whether or not they can keep the CPU cool enough. This will give you an idea of whether or not your hardware is heading out the door or not. If you suspect that your Mac’s CPU or cooling fans might be failing, putting it through a quick stress test to see whether or not your hardware is performing as expected may not be a bad idea. In this tutorial, we’ll show you how to stress test your Mac using Terminal so you can ensure all your processor’s cores are working up to snuff and your cooling fans aren’t grinding or failing to cool your Mac as they should. As rare as it may be, your processor or CPU cooling fans can fail, and there is a really easy way to test your Mac’s hardware with the Terminal app that comes with macOS to ensure everything is working right.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |