- 论坛徽章:
- 0
|
请问solaris8下怎样offline 一个cpu,然后又怎么online回去?
1、psradm - change processor operational status
The psradm utility changes the operational status of pro-
cessors. The legal states for the processor are on-line,
off-line, and no-intr.
An on-line processor processes LWPs (lightweight processes)
and may be interrupted by I/O devices in the system.
An off-line processor does not process any LWPs. Usually, an
off-line processor is not interruptible by I/O devices in
the system. On some processors or under certain conditions,
it may not be possible to disable interrupts for an off-line
processor. Thus, the actual effect of being off-line may
vary from machine to machine.
A no-intr processor processes LWPs but is not interruptible
by I/O devices.
-i Set the specified processors no-intr.
-n Bring the specified processors on-line.
-v Output a message giving the results of each attempted
operation. |
|