Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ runon(1) — Digital UNIX 3.2c

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

psradm(1)

pset_info(1)

pset_assign_pid(1)

pset_assign_cpu(1)

processor_sets(4)

runon(1)  —  Commands

NAME

runon − Runs a command on a specific CPU or processor set

SYNOPSIS

/usr/sbin/runon cpu_num command [argument ...] /usr/sbin/runon -p pset_id [-x] command [argument ...]

DESCRIPTION

The runon utility runs the specified command (command) on the specified CPU (cpu_num).  The argument variable specifies any flags 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 flag 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 flag is useful for multi-threaded applications.  In addition, you can use the -x flag to specify exclusive access to a processor set. 

FLAGS

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

-xSpecifies exclusive use of a processor set. 

RELATED INFORMATION

pset_create, psradm(1), pset_info(1), pset_assign_pid(1), pset_assign_cpu(1), processor_sets(4)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026