On Tue, Aug 12, 2008 at 22:06, Jeff Squyres <jsquyres_at_[hidden]> wrote:
> General question to anyone who may know...
>
> According to this document:
>
> http://www.mjmwired.net/kernel/Documentation/cpu-hotplug.txt
>
> I see that /sys/devices/system/cpu/cpuX/online contains the current CPU
> hotplugging state. You can logically offline a CPU by "echo 0 >
> /.../offline", and you can check the state of the CPU by "cat /.../offline"
> (it'll be 0 or 1).
BTW: from 2.6.26 on, there is a .../system/cpu/online file, which is a
list off all online cpus. its a comma separated list with possible
ranges, not the typical hexmask.
Bert
> --
> Jeff Squyres
|