[Nottingham] Linux disable CPU or CPU core
Martin
martin at ml1.co.uk
Tue Mar 4 14:08:33 GMT 2008
Graeme Fowler wrote:
> On Tue, 2008-03-04 at 13:37 +0000, Martin wrote:
>> Does anyone know if a /proc or /sys tweak can be used to enable/disable
>> a CPU or CPU core in a running Linux system?
>
> echo 0 >> /sys/devices/system/cpu/cpu1/online
>
> I didn't know that until I just Googled for it. It's a nice trick :)
Excellent! Thanks. Your Googling prowess beats mine on that one.
Yep... Linux is cool stuff! :-)
Cheers,
Martin
--
----------------
Martin Lomas
martin at ml1.co.uk
----------------
More information about the Nottingham
mailing list