[Nottingham] Linux disable CPU or CPU core

Graeme Fowler graeme at graemef.net
Tue Mar 4 13:51:50 GMT 2008


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 :)

Graeme




More information about the Nottingham mailing list