On Tue, 6 Jan 2015, Craig Sanders <[email protected]> wrote: > On Tue, Jan 06, 2015 at 10:07:59AM +1100, Carl Turney wrote: > > I never found a way to "throttle down" a process to ease demand on the > > CPU. > > the 'renice' command can be used to change the priority of a process. > > e.g. to make a process use only 'idle' cpu time, you need to find its > process id (PID) and then: > > renice -n 19 $PID
That will work if the issue is multiple processes competing for CPU time. But for Carl's case of a single process using 100% CPU time and overheating the machine it won't work. kill -stop will suspend a process and kill -cont will continue it. It wouldn't be difficult to write a script that runs kill -stop and kill -cont in a loop. -- My Main Blog http://etbe.coker.com.au/ My Documents Blog http://doc.coker.com.au/ _______________________________________________ luv-main mailing list [email protected] http://lists.luv.asn.au/listinfo/luv-main
