TACL Reference Manual

Built-In Functions and Variables
HP NonStop TACL Reference Manual429513-018
9-312
#PROCESSORTYPE Built-In Function
#PROCESSORTYPE Built-In Function
Use #PROCESSORTYPE to find out the processor type of a specified CPU or of the
processor in which a given process is running.
BOTH
specifies that #PROCESSORTYPE returns both a number and the name of the
processor, in text.
NAME
specifies that #PROCESSORTYPE returns the name of the processor, in text.
\node-name
is the name of the system on which the specified processor resides.
$process-name
is the name of a process running on the CPU whose type is to be reported. The
primary CPU of the process is assumed.
cpu,pin
is the CPU number and process identification number for the process.
cpu-num
is the number, 0 through 15, of the CPU whose type is to be reported.
Results
The #PROCESSORTYPE built-in function returns a name, number, or name and
number that indicate the type of the specified processor. If you specify NAME or
BOTH, the name of the processor is returned as an 8-character name (as specified
in the Guardian Procedure Calls Reference Manual). If you specify the BOTH
option, TACL returns the number associated with the type of processor, followed
by a space and the name of the processor. For a detailed list of processor types
and the associated number, see the Guardian Procedure Calls Reference manual.
PROCESSORTYPE [ / BOTH | NAME / ]
{ [\node-name.]$process-name } |
{ cpu‚pin } |
{ cpu-num }