HP OpenVMS Systems Documentation

HP OpenVMS DCL Dictionary

Format

Parameters

Description

The SHOW SYSTEM command displays the following information about
processes on the system:

Time
Process name and identification
Processing state
Priority
Total process I/O count
Cumulative processor time used
Cumulative page faults
Amount of physical memory being used
Type of process

It also checks to see whether the machine is a multiprocessor. A
machine is considered a multiprocessor if the following conditions are
true:

The system parameter MULTIPROCESSING is not equal to zero.

The machine accommodates more than one CPU.

If the machine is a multiprocessor, the SHOW SYSTEM command includes
information about the multiprocessing environment. Each process in the
currently executing state (indicated by the CUR symbol) reveals which
processor it is running on. It does this by including a number beside
the CUR symbol.

The SHOW SYSTEM command examines the processes on the system without
stopping activity on the system. This means that process information
may change during the time that SHOW SYSTEM collects the data to be
displayed. As a result, there may be minor inconsistencies in the SHOW
SYSTEM display. For example, SHOW SYSTEM may display two processes that
schedule state CUR on the same CPU.

Qualifiers

/BATCH (default)

/NOBATCH

Displays all batch jobs for the local system. When used with the
/CLUSTER qualifier, the /BATCH qualifier displays all batch jobs in the
OpenVMS Cluster environment. When you use the /NOBATCH qualifier, all
batch jobs are excluded from the display.

/CLUSTER

Displays the specified processes on all nodes in an OpenVMS Cluster.

/EXACT

Use with the /PAGE=SAVE and /SEARCH qualifiers to specify a search
string that must match the search string exactly and must be enclosed
with quotation marks (" ").

If you specify the /EXACT qualifier without the /SEARCH qualifier,
exact search mode is enabled when you set the search string with the
Find (E1) key.

/FULL

Displays the user identification code (UIC), the processor type, and
the process size, in addition to the default information. The UIC is
displayed below the process name.

/GRAND_TOTAL

/NOGRAND_TOTAL (default)

Displays a trailing line with the total of all processes matching the
selection criteria and the total number of all processes on all systems
displayed by the command. (See also /TOTAL.)

/HEADING

/NOHEADING

Displays a heading line above the system output. When you use the
/NOHEADING qualifier, the heading line is excluded from the display.

/HIGHLIGHT[=keyword]

Use with the /PAGE=SAVE and /SEARCH qualifiers to specify the type of
highlighting you want when a search string is found. When a string is
found, the entire line is highlighted. You can use the following
keywords: BOLD, BLINK, REVERSE, and UNDERLINE. BOLD is the default
highlighting.

/IDENT=pid

Displays all processes on the system that have the specified process
identification (PID) code number.

/INTERACTIVE

/NOINTERACTIVE

Displays all interactive processes on the system. When you use the
/NOINTERACTIVE qualifier, all interactive processes are excluded from
the display.

/MULTITHREAD

Displays all multithreaded processes for the local system. When used
with the /FULL qualifier, the /MULTITHREAD qualifier displays
information about each kernel thread in a multithreaded process.

For more information on kernel threads, refer to the OpenVMS Programming Concepts Manual.

/NETWORK

/NONETWORK

Displays all network processes on the system. When you use the
/NONETWORK qualifier, all network processes are excluded from the
display.

/NODE[=(name,...)]

Displays all the processes on the specified node or nodes. If you enter
the /NODE qualifier without a value, the qualifier displays all the
processes on the local node of an OpenVMS Cluster environment.

/OUTPUT[=filespec]

/NOOUTPUT

Controls where the output of the command is sent. By default, the
output of the SHOW SYSTEM command is sent to the current SYS$OUTPUT
device (usually your terminal). To send the output to a file, use the
/OUTPUT qualifier followed by a file specification.

The file specification may not include the asterisk (*) and the percent
sign (%) wildcard characters. If you enter a partial file specification
(for example, specifying only a directory), SHOW is the default file
name and .LIS is the default file type.

If you enter the /NOOUTPUT qualifier, output is suppressed.

/OWNER_UIC=uic

Displays all processes on the system that have the specified user
identification code (UIC) number.

/PAGE[=keyword]

/NOPAGE (default)

Controls the display of system information on the screen.

You can use the following keywords with the /PAGE qualifier:

CLEAR_SCREEN

Clears the screen before each page is displayed.

SCROLL

Displays information one line at a time.

SAVE[=
n]

Enables screen navigation of information, where
n is the number of pages to store.

The /PAGE=SAVE qualifier allows you to navigate through screens of
information. The /PAGE=SAVE qualifier stores up to 5 screens of up to
255 columns of information. When you use the /PAGE=SAVE qualifier, you
can use the following keys to navigate through the information:

Key Sequence

Description

Up arrow key, Ctrl/B

Scroll up one line.

Down arrow key

Scroll down one line.

Left arrow key

Scroll left one column.

Right arrow key

Scroll right one column.

Find (E1)

Specify a string to find when the information is displayed.

Insert Here (E2)

Scroll right one half screen.

Remove (E3)

Scroll left one half screen.

Select (E4)

Toggle 80/132 column mode.

Prev Screen (E5)

Get the previous page of information.

Next Screen (E6), Return, Enter, Space

Get the next page of information.

F10, Ctrl/Z

Exit. (Some utilities define these differently.)

Help (F15)

Display utility help text.

Do (F16)

Toggle the display to oldest/newest page.

Ctrl/W

Refresh the display.

The /PAGE qualifier is not compatible with the /OUTPUT qualifier.

/PROCESS[=name] (default)

/NOPROCESS

Displays all specified processes on the system. If you do not specify a
process name with the /PROCESS qualifier, all processes are displayed.

When you use the /NOPROCESS qualifier with the /CLUSTER qualifier, only
the node or nodes available on the cluster are displayed with their
respective uptimes and operating system version.

You can include the asterisk (*) and the percent sign (%) wildcard
characters in the process name.

/SCHEDULING_CLASS[=class_name]

/NOSCHEDULING_CLASS

Displays processes that belong to a specific scheduling class
(class_name). If the class name is not specified, all class scheduled
processes are displayed along with the name of their scheduling class.

/SEARCH="string"

Use with the /PAGE=SAVE qualifier to specify a string that you want to
find in the information being displayed. Quotation marks are required
for the /SEARCH qualifier, if you include spaces in the text string.

You can also dynamically change the search string by pressing the Find
key (E1) while the information is being displayed. Quotation marks are
not required for a dynamic search.

/STATE=process-state

Displays all processes with the specified process state. You can
include the asterisk (*) and the percent sign (%) wildcard characters
in the process-state name. The following process states are available:

CEF (Common event flag wait)

COLPG (Collided page wait)

COM (Computable)

COMO (Computable but outswapped)

CUR (Current)

FPG (Free page wait)

HIB (Hibernating)

HIBO (Hibernating and outswapped)

LEF (Local event flag wait)

LEFO (Local event flag wait and outswapped)

MUTEX
1 (Miscellaneous wait)

PFW (Page fault wait)

PSXFR (POSIX fork wait)

RWAST (AST wait)

RWBRK (Waiting for BROADCAST to finish)

RWCAP (CPU capability required)

RWCLU (Cluster transition wait)

RWCSV (Cluster server)

RWIMG (Image activation lock)

RWLCK (Lock ID database)

RWMBX (Mailbox full)

RWMPB (Modified page writer busy)

RWMPE (Modified page list empty)

RWNPG (Nonpaged pool)

RWPAG (Paged pool)

RWPFF (Page file full)

RWQUO (Pooled quota)

RWSCS (SCS wait)

RWSWP (Swapfile spacelist empty)

SUSP (Suspended)

SUSPO (Suspended and outswapped)

1MUTEX is output if one of the RW* states cannot be output.

/SUBPROCESS

/NOSUBPROCESS

Displays all subprocesses on the system. When you use the /NOSUBPROCESS
qualifier, all subprocesses are excluded from the output.

/TOTAL

/NOTOTAL (default)

Displays a trailer after the system process list containing the total
number of processes matching the selection criteria and the total
number of processes on a system.

/WRAP

/NOWRAP (default)

Use with the /PAGE=SAVE qualifier to limit the number of columns to the
width of the screen and to wrap lines that extend beyond the width of
the screen to the next line.

The /NOWRAP qualifier extends lines beyond the width of the screen and
can be seen when you use the scrolling (left and right) features
provided by the /PAGE=SAVE qualifier.

Process name---A 1- to 15-character string used to identify a
process.

Process state---The activity level of the process, such as COM
(computing), HIB (hibernation), LEF (local event flag) wait, or CUR (if
the process is current). If a multiprocessing environment exists, the
display shows the CPU ID of the processor on which any current process
is executing. Note that the SHOW SYSTEM command examines the
processes on the system without stopping activity on the system. In
this example, process information changed during the time that the SHOW
SYSTEM command collected the data to be displayed. As a result, this
display includes two processes, named GAWAIN and S. Whiplash, with the
state CUR on the same CPU, CPU ID 6 in the example.

Current priority
1 ---The priority level assigned to the process (the higher
the number, the higher the priority).

Total process I/O count1---The number of I/O operations
involved in executing the process. This consists of both the direct I/O
count and the buffered I/O count.

Charged CPU time1---The amount of CPU time that a
process has used thus far.

Number of page faults1---The number of exceptions
generated by references to pages that are not in the process's working
set.

Pages1---The number of CPU-specific pages in physical
memory that the process is currently occupying.

This example displays only the nodes available on the cluster with
their respective uptimes and operating system versions because the
/NOPROCESS qualifier suppresses the display of processes. The /FULL
qualifier also displays the type of hardware on which the system is
running.

This example places the display of system processes into the
SYSPROC.DAT file without the heading information using the /OUTPUT
qualifier. In this way, you can create a data file for processing
because the heading is suppressed using the /NOHEADING qualifier.

The SHOW SYSTEM command in this example displays the total count of
subprocesses and processes on each node of a cluster. The last line
lists the grand total of all subprocesses in the cluster (8) followed
by the grand total of all processes in the cluster (183).

Note

1 This information is displayed only
if the process is currently in the balance set; if the process is not
in the balance set, these columns contain the following message: