[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    psradm(1M) manual page Table of Contents

Name

psradm - set processors online or offline

Synopsis

psradm -f| -n [ -v ] processor_id ...
psradm -a -f| -n [ -v ]

Availability

SUNWcsu

Description

psradm takes a processor offline or brings it online. An offline processor will do little or no work. The actual effect of being offline may vary from machine to machine.

Options

-f
Take the specified processors offline.
-n
Bring the specified processors online.
-a
Perform the action on all processors, or as many as possible.
-v
Output a message giving the results of each attempted operation.

Usage

This command is restricted to the superuser.

A processor may not be taken offline if there are LWP s which are bound to the processor. On some architectures, it might not be possible to take certain processors offline if, for example, the system depends on some resource provided by the processor.

At least one processor must remain online.

Examples

Set processors 2 and 3 offline:

psradm -f 2 3

Set all processors online:

psradm -n -a

Files

/etc/wtmp
for records logging processor status changes

See Also

psrinfo(1M) , p_online(2)

Diagnostics

psradm: processor 4: Invalid argument
The specified processor doesn’t exist in the configuration.
psradm: processor 3: Device busy
The specified processor could not be taken offline because it either has LWP s bound to it, is the last online processor in the system, or is needed by the system because it provides some essential service.
psradm: processor 0: Not owner
The user does not have permission to change processor status.


Table of Contents