TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-293
#PROCESSEXISTS Built-In Function
#PROCESSEXISTS Built-In Function
Use #PROCESSEXISTS to find out whether a given process exists.
\node-name
is the name of the system on which the process resides.
$process-name
is the name of the process or process pair.
cpu,pin
is the CPU number and process identification number of the process.
Result
#PROCESSEXISTS returns -1 (true) if the process exists; otherwise, it returns 0
(false).
Considerations
To obtain information about a process, use the #PROCESSINFO built-in function.
#PROCESSEXISTS [\node-name.]{$process-name | cpu,pin }