Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

runon(1) [osf1 man page]

runon(1)						      General Commands Manual							  runon(1)

NAME
runon - Runs a command on a specific CPU or processor set SYNOPSIS
runon cpu_num command [argument...] runon -p [-x] pset_id command [argument...] runon -r rad_id command [argument...] DESCRIPTION
The runon utility runs the specified command (command) on the specified CPU (cpu_num), Processor Set (pset) or Resource Affinity Domain (RAD). The argument variable specifies any options or arguments for the specified command. All the threads created by the command inherit the CPU binding to the specified CPU (cpu_num), including threads created as the result of a fork. If the -p option is used, the specified command is bound to a processor set rather than to a specific processor. Because a processor set can contain more than one processor, the -p option is useful for multi-threaded applications. In addition, you can use the -x option to specify exclusive access to a processor set. OPTIONS
Binds to a processor set instead of a processor. You must specify the processor set identification number (pset_id), which is a unique integer that identifies the processor set and is returned by the pset_create command. You can specify the -x option with the -p option. Invokes Resource Affinity Domain (RAD) binding, which binds the command to a RAD identifier (rad_id) instead of an individual processor or pset. The RAD structure holds data associated with a NUMA building block. In this release, and for the purpose of using the runon command, a RAD is analogous to a hardware Quad Building Block or QBB. The hardware QBB identifier also identifies the RAD. However, in future releases a RAD will be defined as a related set of memory, pro- cessors, and I/O that might not map to a discrete QBB. Specifies exclusive use of a processor set. Use the -x option only with the -p option. SEE ALSO
Commands: pset_assign_cpu(1), pset_assign_pid(1), pset_create(1), pset_info(1), psradm(8) Files: processor_sets(4) Other: numa_intro(3) runon(1)

Check Out this Related Man Page

psrinfo(1)						      General Commands Manual							psrinfo(1)

NAME
psrinfo, pinfo - Displays processor administration information SYNOPSIS
/usr/sbin/psrinfo -n /usr/sbin/psrinfo [-v] [processor...] /usr/sbin/psrinfo -s processor /usr/sbin/pinfo [-v] [processor...] OPTIONS
Displays the number of processors in the system. Enables verbose mode. Writes only a boolean value to standard output. The -s option requires a single processor identification number (processor). The -s option is intended to be used in scripts. A value of 1 is output if the specified processor is on line. A value of 0 is output if the specified processor is off line. DESCRIPTION
The psrinfo and pinfo commands display information about processors. The processor variable specifies the processor identification number, which is a unique integer that identifies the processor. If you do not specify any options or a processor identification number, the com- mands display information about all processors. EXAMPLES
The following is an example of the default prsinfo command output (no options or processor identification numbers): greene:> psrinfo 0 on-line since 11/03/1999 09:41:34 1 on-line since 11/03/1999 09:41:34 2 off-line since 11/03/1999 08:41:34 The following example shows how to use the psrinfo command with the -s option in a shell script to determine the state of the pro- cessor with an identification number of 1: if [ "`psrinfo -s 1 2> /dev/null`" -eq 1 ] then echo "processor 1 is up" else echo "processor 1 is down" fi The following example shows how to use the psrinfo command with the -v option: % psrinfo -v Status of processor 0 as of: 05/23/00 15:47:40 Processor has been on-line since 05/23/2000 15:08:04 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. Status of processor 1 as of: 05/23/00 15:47:40 Processor has been on-line since 05/23/2000 15:08:04 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. Status of processor 2 as of: 05/23/00 15:47:40 Processor has been off-line since 05/23/2000 15:08:04 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. Status of processor 3 as of: 05/23/00 15:47:40 Processor has been on-line since 05/23/2000 15:14:00 The alpha EV5.6 (21164A) processor operates at 465 MHz, and has an alpha internal floating point processor. FILES
SEE ALSO
Commands: pset_assign_cpu(1), pset_assign_pid(1), pset_info(1), psradm(8) Files: utmp(4) Processor Sets: processor_sets(4) psrinfo(1)
Man Page