TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-300
#PROCESSINFO Built-In Function
PROCESSSTATE
returns a line of twelve space-separated values: eleven flags and a numeric
value. The flags are encoded as -1 (true) or 0 (false), and represent this
information:
The numeric value indicates the state of the process, as follows:
Flag Meaning
1 Privileged process
2 Page fault occurred
3 Process is on the ready list
4 System process
5 Reserved
6 Reserved
7 Memory access breakpoint (MAB) in system code
8 Process not accepting any messages
9 Temporary system process
10 Process has logged on (called VERIFYUSER)
11 In a pending process state
Value State
0 Unallocated
1Starting
2 Runnable
3 Suspended
4DEBUG MAB
5 DEBUG breakpoint
6DEBUG trap
7 DEBUG request
8 INSPECT MAB
9 INSPECT breakpoint
10 INSPECT trap
11 INSPECT request
12 SAVEABEND
13 Terminating
14 XIO initialization (not applicable on G-series RVUs)