Index Index for
Section 8
Index Alphabetical
listing for P
Index Bottom of
page

psradm(8)

NAME

psradm, offline, online - Stops and starts processors in a multiprocessor system

SYNOPSIS

/usr/sbin/psradm -f [-v] [[-a] [processor_id...]] /usr/sbin/psradm -n [-v] [[-a] [processor_id...]] /usr/sbin/online [-v] [processor_id...] /usr/sbin/offline [-v] [processor_id...]

OPTIONS

The following options apply only to the psradm command: -a Specifies that all the processors except the master processor be put off line or on line. -f Puts the specified processor off line. -n Puts the specified processor on line. The following option applies to all forms of the command: -v Displays a message about the status of the operation performed on each processor.

DESCRIPTION

On a multiprocessor system, the psradm command puts one or more processors off line (stops a processor) or on line (starts a processor). The processor_id variable specifies an integer that uniquely identifies a processor. Use the psrinfo command to display processor identification numbers. The offline command puts one or more processors off line (stops a processor). If no processors are specified, all processors that are on line are stopped except the master processor. The online command puts one or more processors on line (starts a processor). If no processors are specified, all processors that are off line are started. Note that you cannot use these commands to start or stop the master processor in a multiprocessor system. You must be the root user to use this command. The /var/adm/wtmp file contains information about successful processor state transitions.

RESTRICTION

Do not use the psradm command to disable CPUs when benchmarking performance, because the command does not provide an accurate reflection of the performance of a system that actually has fewer CPUs. Accurate performance results are obtained only when you disable the CPUs at the SRM console command level.

EXAMPLES

1. The following command puts processors 2 and 3 off line: # psradm -f 2 3 2. The following command puts all the processors on line: # psradm -n -a 3. The following command puts all processors on line: # online -v

FILES

/var/adm/wtmp

SEE ALSO

Commands: pset_info(1), psrinfo(1) Files: processor_sets(4)

Index Index for
Section 8
Index Alphabetical
listing for P
Index Top of
page