Home

Advertisement

Customize

Linux: How to disable CPU? (logically offline)

To disable:


shell> echo 0 > /sys/devices/system/cpu/cpu[X]/online

To check:


shell> cat /pro/cpuinfo or cat /proc/interrupts

To enable:


shell> echo 1 > /sys/devices/system/cpu/cpu[X]/online

Useful doc:
Documentation/cpu-hotplug.txt

Comments

December 2009

S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

Tags

Powered by LiveJournal.com

Advertisement

Customize