Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Make the CPU Work Hard

How to Make the CPU Work Hard

First, why would you want to do this? Maybe for testing, to check the responsiveness of the computer under load. Also to force the fans to run to check that they work, and also to help clear water in case of a water spill!

Use this command: yes > /dev/null &

This creates a background task which will send the word "yes" as often as possible (it is usually used to answer commands with repeated prompts to continue).

Repeat the command to create more threads. Do this as often as necessary to put the required load on the computer.

When your testing is complete, terminate them all with: killall yes



I usually write a blog post about once a week. The latest post can be viewed here: Stop the Tribalism: They really need to stop the tribalism. (posted 2024-06-26 at 19:56:52). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-04-30 The Fall of Rome: I'm afraid that we really might be seeing the demise of the greatest era in history..
 Site ©2024 by OJBRSS FeedMicrosoft Free ZoneMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 104,537,951
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 30ms