Process Screen [ HP GlancePlus User's Manual (for MPE/iX Systems) ] MPE/iX 5.0 Documentation
HP GlancePlus User's Manual (for MPE/iX Systems)
Process Screen
If you select a specific process (using the #, P, or > commands), the
Process screen appears containing information about that process. The
Banner Line includes the PIN number and job or session number for the
process as part of the screen identifier. The detailed data area of the
display is divided into five parts:
* Process Bars.
* Process Summary Fields.
* Process States.
* Miscellaneous Process Information.
* Process Screen Function Keys.
Figure 5-5. Process Screen
Process Bars
The Process Bars show how the selected process is using CPU and disc
resources.
Figure 5-6. Process Screen--Process Bars
The Process bar has the following components:
CPU The CPU bar shows the percentage of central
processing unit time used by the process during
the last interval. The codes on this bar
correspond to the codes used in the Global CPU
bar (see CPU Bars under "Reading the Screen
Display" in chapter 3). The number at the right
of the bar is the percentage of time the CPU is
busy (not counting idle time or paused-for-disc
time). [Scale: 0% to 100% of total time busy.]
An asterisk (*) represents the average usage of
this resource over time--since the program
started or since the last Z ("zero") command.
DISC The Disc bar shows the disc transfer rate
(transfers per second) by the process during the
current interval. The codes on this bar
correspond to the codes used in the Global Disc
bar (see Disc Bars under "Reading the Screen
Display" in chapter 3). [Scale: 0 to 100 disc
transfers per second.]
An asterisk (*) represents the average usage of
this resource over time--since the program
started or since the last Z ("zero") command.
Process Summary Fields
The Process Summary Fields at the right of the screen provide additional
information about the process.
Figure 5-7. Process Screen--Process Summary Fields
The Process Summary Fields are as follows:
PROGRAM TYPE The type of program is displayed as NMPRG
(native mode), CMPRG (compatibility mode or PROG
code in LISTF), or OCTed (one or more SOMs have
been run through the Object Code Translator).
PROGRAM The fully qualified program name is displayed as
FILE.GROUP.ACCOUNT.
ELAPSED ELAPSED shows the total clock time that the
process has been running.
CPU-TOT CPU-TOT shows the total amount of processor time
used during the life of the process.
DISC-TOT DISC-TOT shows the total number of physical disc
transfers completed during the life of the
process. A number followed by the letter K
represents thousands of transfers; a number
followed by the letter M represents millions of
transfers.
NOTE Disc totals are not collected until either HP GlancePlus or another
performance tool enables the MPE measurement facility to collect
process data. This means that the DISC-TOT value will not include
physical transfers that were completed by a process before the MPE
measurement facility was enabled.
Process State Bars
The bars show the process's states during its lifetime and the last
interval.
Figure 5-8. Process Screen--Process State Bars
STATE (Components of Response Time).
The STATE or Elapsed Time Process State bar shows the components of
response time for the process over its lifetime (running time). The
number at the right represents what percentage of the total time the
process requested service (it was not waiting on terminal reads).
Usually, this number will be 100% for a batch job since batch jobs
typically do not interact with a terminal. For interactive processes,
however, this number is typically well below 100%, and is a good
indicator of how much of the time the process is requesting service from
the computer.
The components of the State bar are shown below. For each component
listed, the process state was as follows:
C Using the CPU.
M Waiting for memory resources.
D Blocked, waiting for a disc I/O transfer.
I Blocked, waiting for a non-disc I/O transfer (this
includes waiting for terminal writes but not terminals
reads. Remember, the State bar represents the portion
of time the process is asking for service).
Q Impeded by a synchronizing mechanism including the
following wait reasons: DBMS, RIN, SEM, SIR, and
IMPEDE wait times.
P Preempted, waiting for the CPU.
F Waiting on a process in the family tree including the
following wait reasons: father, son, and message wait
times.
O Waiting for some other reason. Wait reasons in this
category include: TIMER, PORT, JUNK, MAIL, CONSOLE,
PAUSE, TERMINAL, MISCELLANEOUS, and BREAK wait times.
LAST (Components of Response Time).
The LAST or Last Interval Process State bar represents components of
response time for the process over the last interval. The number at the
right represents the percentage of time the process was asking for
service (not waiting for input from a terminal) during the most recent
time interval. The codes for the Last bar are similar to those for the
State bar except they only represent the time for the last interval. A
comparison of the LAST bar to the STATE bar shows if the last interval
was typical relative to the life of the process.
Miscellaneous Process Information
Below the State and Last Interval bars the screen shows additional
information for the process being monitored.
Figure 5-9. Process Screen--Miscellaneous Process Information
Additional information includes the following:
Wait Upon first entering the Process screen, this
field indicates why a process is currently
waiting (if the process is active, it will
be blank). For every succeeding interval,
it shows both the percentage and wait reason
for the highest percentage wait reason
during that interval. While the STATE and
LAST bars group wait reasons for better
representation, the Wait field uses the
detailed reasons in appendix C to increase
its ability to pinpoint a process slowdown.
Queue Priority This field shows the execution queue (where:
A=AS; B=BS; C=CS; D=DS; E=ES) and the
absolute priority number (1-255) for the
process at the time it was displayed. The
priority will display a zero if the process
has just terminated.
Table 5-1. (cont.)
Scheduling State This field shows the state this process is
in according to the MPE/iX Dispatcher.
Valid states are: Executing, Ready, Short
Wait, Long Wait, and Null.
Executing The process is using the CPU.
Ready The process is waiting its
turn for the CPU.
Short Wait The process is waiting for
disc I/O, such as a code page
fault or file page fault.
Long Wait The process is waiting for
other I/O activities such as a
terminal read or terminal
write. SIR, RIN, Parent Wait,
and other semaphore - type
waits fall under this
category.
Null Appears only if a process is
being created or is dying.
Transactions/min This field shows the rate of terminal
transactions (transactions per minute)
completed during the last interval.
Compatibility Mode This field shows the percentage of CPU time
the process spent in Compatibility Mode
during the last interval.
Native Mode Switches This field shows the rate of Native Mode
switches completed (switches per second from
Native Mode to Compatibility Mode) during
the last interval. [Bar Scale: 0 to 200
switches per second. The number to the
right of the bar shows the actual switch
rate per second up to a maximum of 9,999.]
Comp. Mode Switches This field shows the rate of Compatibility
Mode switches completed (switches per second
from Compatibility Mode to Native Mode)
during the last interval. [Bar Scale: 0 to
200 switches per second. The number to the
right of the bar shows the actual switch
rate per second up to a maximum of 9,999.]
Response Time This field shows the average response time
for the process during the last interval.
If no terminal transactions were completed,
the response time value is zero. [Scale:
0.00 to 60.00 seconds.]
Process Screen Function Keys
When you display the Process screen, the softkeys at the bottom of the
screen change to functions related to the process being viewed. By
pressing these softkeys you can display the information described below.
If you choose not to use softkeys, you can access GlancePlus functions
using the subcommands described with the specific functions.
Figure 5-10. Process Screen--Screen Function Keys
Setting Option Values (V)
The process-specific functions can be customized using the V command to
set the following configuration parameters:
* File (Simple or Detailed)
This option controls the information displayed for open files.
See the Display Files option below for more information.
* Prockeys (Demand or Continuous)
This option controls how information on the three process-specific
functions (Display Files, Display Family, and Display Trace) are
displayed.
* Demand
When Demand is selected, the functions are treated as
requests to display the appropriate information once. For
example, if Prockeys=Demand and the Display Files function
is selected from the Process screen, the open file
information is displayed once, but will not be redisplayed
when the screen is refreshed.
* Continuous
When Continuous is selected, the functions are treated as
switches enabling or disabling the continuous display of
information. For example, if Prockeys=Continuous and the
Display Files function key is selected from the Process
screen, the open file information is displayed, and
redisplayed automatically each time the screen is
refreshed.
When a continuous-mode display is enabled, the Process
State bars and Miscellaneous Process Information sections
of the detail display are suppressed to leave more room for
the display just enabled. When that display is disabled,
the Process State bars and Miscellaneous Process
Information are again included in the detail display.
Hint If you wish to see successive displays on the monitor for
comparison, set Prockeys = Demand, and press the Display Files
function key at the prompt Press RETURN to continue (or enter a
GLANCE command):. This is useful particularly for tracking the
progress of the file pointer in the file display. It has the
additional benefit of not updating the rest of the process
information; this can be very handy over a slow data communications
link.
Display Files
Press the Display Files function key to see a list of open files for the
process being viewed. To display this data without using the function
keys, press "1". (The "1" subcommand is only valid during the Process
screen display.)
The Display Files function appears in two formats depending on how the
File parameter is configured: File=simple or File=detailed. This
parameter is set using the Set Option Values (V) command. The following
formats occur:
Simple File Display.
If the File parameter is configured File=simple, the Simple File Display
format occurs,
where:
Filename The file name comprised of the first eight
characters of the formal designator for the
file.
xxx% This field, following the file name, indicates
the progress of the record pointer as compared
with the end-of-file pointer. A sample display
might be:
DB01 /32% DB02 /45%
Detailed File Display.
If the File parameter is configured File=detailed, the Detailed File
Display format occurs, as shown in figure 5-11.
Figure 5-11. File Display Screen--Detailed Display
where:
File.Group.Account is the formal designator for the file.
and
File The file name or, if unnamed, a question mark
(?).
Group The group name or, if unnamed, a series of dots
(........).
Account The account name or, if unnamed, a series of
dots (........).
Type File code mnemonic (as in LISTF,1 command)
or File code number (user-defined file code)
or One of the following specially defined
mnemonics:
RXRAW LaserRX raw log file (file code 1135).
RXEXT LaserRX extracted log file (file code
1136).
ROOT TurboIMAGE data base root file (file
code -400).
DSET TurboIMAGE data base data set (file
code -401).
DBREM TurboIMAGE remote data base (file code
-402).
DBILR TurboIMAGE ILR file (file code -404).
PRIV Any other negative file code.
or if the file code is zero:
KSAM Foptions file type = 1
RIO Foptions file type = 2
KSAMX Foptions file type = 3
CIR Foptions file type = 4
SPOOL Foptions file type = 5
MSG Foptions file type = 6
Rec-Pointer The current record pointer for the file. (This
usually points to the last record accessed by
the process.)
End-of-File The current end-of-file value (disc files only).
Domain The designation of the file's condition. It may
be:
NEW File is newly created, Foptions Domain
= 0.
PERM File is permanent, Foptions Domain = 1.
TERM File is temporary, Foptions Domain = 2.
OLD File is old permanent or temporary,
Foptions Domain = 3.
If the file is a system-defined file, the Domain
lists one of the following designations:
$stdlist System-defined file, Foptions
designator = 1.
$newpass System-defined file, Foptions
designator = 2.
$oldpass System-defined file, Foptions
designator = 3.
$stdin System-defined file, Foptions
designator = 4.
$stdinx System-defined file, Foptions
designator = 5.
$null System-defined file, Foptions
designator = 6.
???????? System-defined file, Foptions
designator = 7.
Access The way a file is opened by the process--the
type of access, as follows:
IN File is opened for READ access,
Aoptions Access = 0.
OUT File is opened for WRITE access,
Aoptions Access = 1.
KEEP File is opened for WRITE-SAVE access,
Aoptions Access = 2.
APEN File is opened for APPEND access,
Aoptions Access = 3.
I/O File is opened for READ/WRITE access,
Aoptions Access = 4.
UPDT File is opened for UPDATE access,
Aoptions Access = 5.
XEQ File is opened for EXECUTE access,
Aoptions Access = 6.
LOAD File is opened for EXECUTE-READ,
Aoptions Access = 7.
M File is opened for MAPPED-FILE access
Share The way the file is shared by this process:
EXC File is open for EXCLUSIVE access,
Aoptions Excl = 1.
SEM File is open for READ-SHARE (SEMI
EXCLUSIVE) access, Aoptions Excl = 2.
SHR File is open for SHARE access, Aoptions
Excl = 3.
,L File is open with Dynamic Locking,
Aoptions Lock = 1.
Table 5-1. (cont.)
Opens The number of times the file has been opened.
TurboIMAGE data sets will have their record
pointers and end of files expressed as
TurboIMAGE record numbers instead of MPE file
blocks of media records.
See the MPE Intrinsics Manual under the FOPEN
intrinsic for a detailed description of Foptions
and Aoptions parameters.
Display Family
Press the Display Family function key to see the family tree for the
process currently being viewed. To display the tree without using the
function keys, press 2. (The "2" subcommand is valid only during the
Process screen display.)
If available, the parent process identification number (PIN) is shown,
followed by any and all children of the process. For each PIN displayed,
the program being executed by the respective process is also presented.
Display Trace
Pressing the Display Trace function key provides an HP Debug Procedure
trace of the process being monitored. To display the trace without using
the function keys, press 3. (The "3" subcommand is valid only during the
Process screen display.)
The first time you use the Display Trace key, a 5- to 30-second delay
occurs. This is normal. Note, however, that a user will not be able to
execute this command without System Manager (SM) capability.
Consult the MPE XL System Debug Reference Manual for detailed information
on how to read a trace.
SPT Collect
This function key allows you to use the HP SPT (Software Performance
Tuner) product to create and run a program under HP GlancePlus for
collecting metrics on the process currently running. To display this
process without using function keys, press 4. (The "4" subcommand is
valid only during the Process screen display.)
This command is optional and will operate only if the HP SPT product was
installed.
The data SPT collects about a process is placed in the default log file
SPTLOG. The default time for collecting process metrics via SPT is 5
minutes, but can be changed by using the job control word GLANCESPTTIME.
Collection times between 1 and 60 minutes can be selected when using SPT
from within GlancePlus. The file SPTOUT is used for STDLIST messages
created from the SPT process running under HP GlancePlus.
If desired, you can terminate a SPT process created by GlancePlus, by
using the MPE command (:) and issuing the command SETVAR SPT_STOP TRUE.
The existence of the SPT_STOP variable will cause the SPT process to
terminate in 15 to 30 seconds.
After creating and activating the SPT program, GlancePlus resumes normal
operation and its screens can be accessed.
NOTE HP GlancePlus limits SPT data collection to one active process at a
time.
MPE/iX 5.0 Documentation