beautypg.com

Getting information about processes, Displaying process information (status command), Examples – HP NonStop G-Series User Manual

Page 66

background image

Starting and Controlling Processes With TACL

Guardian User’s Guide 425266-001

4 -2

Getting Information About Processes

Getting Information About Processes

When you encounter problems with a process, you will need to get more information
about the processes that are running on your system, and their status.

Use the TACL PPD (process-pair directory) or the TACL STATUS command to get
information about a process, learn what process pairs are currently running, and obtain
information about them.

Displaying Process Information (STATUS Command)

To display information about one or more running processes, including the process
name, the user ID associated with the process, the location of the program file, and the
home terminal from which the process was started, use the STATUS command:

> STATUS process-id

The STATUS command accepts several command options. For example, to display
information about all processes running from your home terminal, use an asterisk (*) to
indicate all processes, and TERM to indicate the home terminal:

You can also specify a user and program by name. For example, the following STATUS
command shows all processes owned by the user COOKS.SAG that are running the
program file $SYSTEM.SYSTEM.TEDIT:

For a description of all STATUS command options, see the TACL Reference Manual.

Examples

1. Display information about processes running on the terminal $JT1.#J01.

> STATUS *, TERM $JT1.#J01

A report such as this is sent to your home terminal:

2. Display information about the process 9,151.

> STATUS 9,151

1> STATUS *, TERM $term-name
Process Pri PFR %WT Userid Program file Hometerm
3,87 148 005 6,66 $GERT.ALWORK.TEDIT $STEIN
$Z103 4,140 150 R 000 6,66 $SYSTEM.SYSTEM.TACL $STEIN
$Z103 B 5,69 150 001 6,66 $SYSTEM.SYSTEM.TACL $STEIN

2> STATUS *, USER COOKS.SAG, PROG $SYSTEM.SYSTEM.TEDIT
Process Pri PFR WT% Userid Program file Hometerm
3,67 148 R 001 7,1 $SYSTEM.SYSTEM.TEDIT $STEIN

Process Pri PFR %WT Userid Program file Hometerm
$JT12 B 4,85 150 001 8,001 $SYSTEM.SYS02.TACL $JT1.#J01
$JT12 5,84 150 R 000 8,001 $SYSTEM.SYS02.TACL $JT1.#J01
9,151 140 004 8,001 $SYSTEM.SYSTEM.SUBVOLS $JT1.#J012

This manual is related to the following products: