HP OpenVMS Systems Documentation |
OpenVMS System Management Utilities Reference Manual
HELP
Provides help on LMCP commands. FormatHELP [help-topic [help-subtopic]] Parameter
Changes the state of transactions. FormatREPAIR filespec Parameter
Qualifiers
DescriptionUse the REPAIR command to change the state of transactions. Example
Displays information about transaction logs. FormatSHOW LOG [filespec] Parameter
Qualifiers
Example
Chapter 15
|
MONITOR [/qualifier[,...]] classname[,...] [/qualifier[,...]] |
Regardless of the order in which you specify classname parameters, MONITOR always executes requests in the following sequence:
PROCESSES
STATES
MODES
PAGE
IO
FCP
LOCK
DECNET
FILE_SYSTEM_CACHE
DISK
DLOCK
SCS
SYSTEM
CLUSTER
RMS
MSCP_SERVER
TRANSACTION
VECTOR
VBS (VAX Only)
TIMER
RLOCK
Depending on the command qualifiers specified, MONITOR collects system performance data from the running system or plays back data recorded previously in a recording file. When you play back data, you can display it, summarize it, and even rerecord it to reduce the amount of data in the recording file.
15.2 MONITOR Usage Summary
The Monitor utility (MONITOR) is a system management tool that enables
you to obtain information about operating system performance.
MONITOR
Usage Summary Issuing the MONITOR command from the DCL prompt invokes the Monitor utility and allows you to use any of the Monitor utility commands as follows:None.
$ MONITOR MONITOR> |
To begin monitoring a system, issue the MONITOR command MONITOR.
Generally, each MONITOR request runs until the time specified or implied by the /ENDING qualifier. To exit from MONITOR, enter the EXIT command at the MONITOR> prompt or press Ctrl/Z. To terminate a MONITOR request without exiting from the utility, press Ctrl/C.
Information collected by MONITOR is normally displayed as ASCII screen images. You can use the optional /DISPLAY qualifier to specify a disk file to contain the information. If you omit the file specification, output is directed to SYS$OUTPUT. See the MONITOR command MONITOR for a discussion of the /DISPLAY qualifier.
You can also initiate MONITOR requests from command level by entering
the DCL command MONITOR with the desired qualifiers and parameters.
However, in terms of conserving system resources, it is preferable to
initiate requests in response to the MONITOR> prompt.
15.3 MONITOR Commands
This section describes and provides examples of MONITOR commands. For commands that specify classname parameters (other than ALL_CLASSES), a sample display or summary of each class is provided, with a brief description of the items in the class.
MONITOR recognizes the exclamation point (!) as a comment character. Thus, full- or partial-line comments are acceptable in command files specified as input to MONITOR.
Note that in MONITOR, rate indicates the number of occurrences per second. For example, the Page Fault rate indicates the number of page faults per second.
The following table lists the commands described in this section:
Command | Description |
---|---|
CONVERT | Converts a pre-Version 5.0 MONITOR recording file to the current format |
EXECUTE (@) | Executes a series of MONITOR commands contained in a file |
EXIT | Terminates MONITOR, returning control to command level |
HELP | Displays information about MONITOR |
INITIALIZE | Reestablishes initial default dettings for parameters and qualifiers altered by the SET DEFAULT command |
MONITOR | Initiates monitoring of statistics for the classes of information you specify |
SET DEFAULT | Sets command qualifier, classname parameter, and classname qualifier defaults for the MONITOR command |
SHOW DEFAULT | Displays the defaults established by the SET DEFAULT command |
The CONVERT command converts a pre-Version 5.0 MONITOR recording file to the current format.
CONVERT file-spec
file-spec
Specifies the file to be converted. The default file specification is MONITOR.DAT.
/OUTPUT
The file specification of the converted file. The default specification is MONITOR.DAT.
You must convert pre-Version 5.0 recording files to the current format before attempting to play them back with the current MONITOR version.
MONITOR> CONVERT 24MAY_MONITOR.DAT/OUTPUT=24MAY_NEWMON.DAT |
This command converts the file 24MAY_MONITOR.DAT to the current format and names the output file 24MAY_NEWMON.DAT.
The EXECUTE command or the at sign (@) executes a series of MONITOR commands contained in a file.
EXECUTE (@) file-spec
file-spec
Specifies a command file to be executed by the EXECUTE (@) command.
None.
With the EXECUTE command, you can direct MONITOR to obtain command input from a specified file rather than from the terminal. The file can contain any valid MONITOR command except an EXECUTE (@) command. Commands in the file are executed sequentially. If you omit the optional file specification, the default is MONITOR.MON.After the file has executed, subsequent commands are obtained from the terminal.
MONITOR> EXECUTE INQMEM.MON . . . MONITOR> MONITOR /RECORD |
Contents of the file INQMEM.MON are as follows:
! This file sets defaults for a memory management inquiry using ! INTERVAL=5, PAGE, IO, and PROCESSES/TOPFAULT ! . . . SET DEFAULT /INTERVAL=5 PAGE, IO, PROCESSES/TOPFAULTIn this example, appropriate default values for a memory management investigation are established in the file INQMEM.MON, and the file is executed with the EXECUTE command. Then a subsequent MONITOR command uses those defaults, adding the /RECORD qualifier, to display and record the selected classes with a 5-second interval.
Note that the defaults established when the file INQMEM.MON is executed remain in effect until changed explicitly or until you exit from the utility.
The EXIT command terminates MONITOR, returning control to command level.
EXIT
None.
None.
The HELP command displays information about MONITOR.
HELP [command]
command
Specifies the name of a MONITOR command for which HELP is desired.
None.
MONITOR> HELP MONITOR INITIALIZE The INITIALIZE command reestablishes initial default settings for parameters and qualifiers previously altered by the SET DEFAULT command. |
The command in this example requests help information about the INITIALIZE command.
The INITIALIZE command reestablishes initial default settings for parameters and qualifiers altered by the SET DEFAULT command.
INITIALIZE
None.
None.
The MONITOR command initiates monitoring of statistics for the classes of information you specify.
MONITOR [/command qualifier[,...]] classname[,...] [/classname qualifier[,...]]
This section describes qualifiers for the MONITOR and SET DEFAULT commands. Note that these commands accept the same qualifiers. As these qualifiers follow the standard rules of DCL grammar as specified in the OpenVMS DCL Dictionary, you can abbreviate any qualifier or keyword as long as the abbreviation is not ambiguous. Use the asterisk (*) and the percent sign (%) as wildcard characters unless otherwise noted.classname[,...]
Specifies the class of performance data to be monitored. To monitor all classes, specify the ALL_CLASSES parameter. When you specify several classes, separate the classname parameters with commas or plus signs. You cannot specify the CLUSTER class name with any other class name. Cluster monitoring functions require that DECnet for OpenVMS be installed.You must specify one or more of the following parameters:
ALL_CLASSES Statistics for all classes CLUSTER Clusterwide performance statistics DECNET DECnet for OpenVMS statistics DISK Disk I/O statistics DLOCK Distributed lock management statistics FCP File control primitive statistics FILE_SYSTEM_CACHE File system cache statistics IO System I/O statistics LOCK Lock management statistics MODES Time spent in each of the processor modes MSCP_SERVER MSCP server statistics PAGE Page management statistics PROCESSES Statistics on all processes RLOCK Dynamic lock remastering statistics RMS Record Management Services statistics SCS System Communications Services statistics STATES Number of processes in each of the scheduler states SYSTEM Summary of statistics from other classes TIMER Timer Queue Entry (TQE) statistics TRANSACTION DECdtm services statistics VBS (VAX Only) Virtual balance slot statistics VECTOR Vector processor scheduled usage
/BEGINNING=time
Specifies the time that monitoring begins, by using a combination of absolute and delta times. Observe the syntax rules for time values described in the online help topic DCL_Tips (subtopic Date_Time).If you are monitoring a running system, and you omit the /BEGINNING qualifier, monitoring begins when you enter the MONITOR command. However, if you have specified the /INPUT qualifier to play back data from an input recording file, /BEGINNING defaults to the beginning time recorded in the input file. If you specify /BEGINNING with a time but are playing back a recording file, MONITOR selects either the beginning time of the file or the beginning time you specify, whichever is later. If you are monitoring a remote node, the local node time is used to determine beginning time.
If you specify a future time for a request to monitor a running system, MONITOR issues an informational message, and the process issuing the request hibernates until the specified time. This feature can be useful when you run MONITOR from a batch job.
/BY_NODE
/NOBY_NODE
Specifies that performance class data in a multifile summary be displayed as a single column of AVERAGE statistics for each node.The /BY_NODE qualifier displays data in a multifile summary. If you specify only one input file, MONITOR ignores the /BY_NODE qualifier because you are not performing a multifile summary.
You can specify the /BY_NODE qualifier only in combination with the /SUMMARY qualifier. One column of AVERAGE statistics per node appears for each class requested.
By default, multifile summaries include one column of AVERAGE statistics for each node requested in each input file.
/COMMENT=string
/NOCOMMENT (default)
Specifies an ASCII string to be stored in the output recording file. The string can contain up to 60 characters.The /COMMENT qualifier is valid only when /RECORD is also specified. (MONITOR ignores the /COMMENT qualifier if you do not use the /RECORD qualifier in the command line.) If you omit the qualifier or specify /NOCOMMENT, a string consisting of 60 blanks is stored in the recording file by default.
Previous Next Contents Index