Open System Services Porting Guide (G06.24+, H06.03+)

Table Of Contents
Interoperating Between User Environments
Open System Services Porting Guide520573-006
4-15
Managing Processes From TACL
Managing Processes From TACL
Within a Guardian environment, you can use the Guardian STATUS command to
obtain the status of Guardian processes. This is equivalent to the OSS ps utility.
Examples
To list the status of your current Guardian processes, use the following command at
the TACL prompt:
STATUS *, USER
The next example lists the status of all Guardian processes:
STATUS *
The following sample command lists all status information of all processes belonging to
the user named OSS.STU01. Note that parameters are separated by commas (,). The
second parameter is a keyword value pair (USER and OSS.STU01) separated by a
space. The DETAIL option specifies that the full set of status information is to be
displayed:
STATUS *, USER OSS.STU01, DETAIL
The following sample command lists status information of processes running in
processor 0. Both Guardian and OSS processes are displayed in the output:
STATUS 0
In this sample output, the OSS processes have an “x” in the second column and
program names whose subvolume names begin with ZYQ (the output is only a small
portion of the output for this command):
Process Pri PFR %WT Userid Program file Hometerm
$XM00 0,278 199 P 041 255,255 $SYSTEM.SYS00.MEASCTL $TA0.#T2
$IMON B 0,279 148 P 001 255,255 $SYSTEM.SYS00.IMON $OSP
$XCVR0 0,280 199 P 001 255,255 $SYSTEM.SYS00.COVERMON $TA0.#T2
X 0,281 150 000 1,174 $XPG.ZYQ00000.Z0000R24 $ZTNT.#PTY007
X 0,282 150 003 1,33 $XPG.ZYQ00000.Z0000R24 $ZTNT.#PTY003
X 0,284 150 000 255,255 $XPG.ZYQ00000.Z0000R24$ZTNT.#PTY000
In the Guardian environment, you specify a process in Guardian commands either by
name or by the processor and process identification number (PIN). The processor
number and PIN are separated by a comma (,); see the next example.
Guardian process names begin with a dollar sign ($) followed by a letter. The process
name can have up to five characters (excluding the $). The Guardian process names
in the previous sample output are $XM00, $IMON, and $XCVR0.
Use the Guardian STOP command to stop processes. The STOP command uses
either the process name or the processor number and PIN combination to access the
process. For example, the following two commands are equivalent:
STOP $SRVR
STOP 5,48