Throttle processor speed in Linux
I have a system that runs in a environment that tends to be on the warm side. If the processor starts running at 3Ghz or higher, the processor starts some serious overheating. Applications I have running on this system do not need to run fast, but the nature of the way they get launched ocassionaly makes the system think it needs to run faster. To address this issue I execute the following command:
/usr/bin/cpupower --cpu all frequency-set --max 2.0Ghz
and all the cores run no faster than 2 ghz. Overheating problem solved
Tested on Fedora release 38