Index Click this button to go to the index for this section.


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 ...]

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.

FLAGS

The following flags 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 flag applies to all forms of the command: -v Displays a message about the status of the operation performed on each processor.

EXAMPLES

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

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.

FILES

/var/adm/wtmp

RELATED INFORMATION

psrinfo(1), pset_info(1), processor_sets(4)