TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-255
#LOOKUPPROCESS Built-In Function
#LOOKUPPROCESS Built-In Function
Use #LOOKUPPROCESS to request information about a named process or process
pair from the destination control table (DCT).
option
is a request option. It can be any of these:
ANCESTOR
returns the process name, or the CPU number and process identification
number, of the process creator. If the ancestor node is different from the
specified or default node, then TACL displays the node name.
BACKUP
returns the CPU,PIN of the backup process. If there is no backup, TACL
returns 0,0.
ENTRY
returns the number of the DCT entry whose information is being returned. This
option forces specifier to be an entry number.
PRIMARY
returns the CPU,PIN of the primary process in the DCT.
PROCESSID
returns the process name of the DCT entry.
RESULT
returns one of these values:
specifier
is one of these process identifiers:
[\node-name.]{$process-name | cpu,pin }
entry-number [ \node-name ]
#LOOKUPPROCESS / option [ , option ] ... / specifier
0 if the requested entry is obtained
1 if an entry number is given but a higher-numbered entry
is being returned because the specified entry is not in
use
2 if the entry is not in the table or the system cannot be
reached