Site TIPS PAGE🔎   UP ONE LEVEL
 OJB's Site. v2.4.L: tip199 tips mac owen2 
Tip

Discuss   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





My latest blog post: Think for Yourself: In the end, everything is just an opinion. Be skeptical, and think for yourself! (posted 2026-04-25).

My latest podcast: OJB's Podcast 2026-04-14 How Far is that Star?

If you're not sure what to view from my site, here are some suggestions: My Latest Airshow Report, My Favourite Wines and Beers, An Interesting Astronomical Observation, See Some Photos, Read Some Mac Tips.


Site News (Mobile): OJB's web site, v 2.4 which has major changes, and possibly errors! Please report anything to ojb@mac.com.