VMS Help
DEFRAGMENT, MONITOR
*Conan The Librarian
|
The MONITOR subcommand displays the the progress of an ongoing
defragmentation processes on a terminal.
Format
DEFRAGMENT MONITOR { script-name|volume-name } [ /QUALIFIERS ]
script-name|volume-name
The parameter for the MONITOR subcommand is either a script name
or a volume name for Defrag PLUS. You can use wildcards in the
script-name specification. Use an asterisk (*) to take action on
all scripts on the VAXcluster system; use a percent sign (%) to
match a single character in the script-name specification.
If a volume name is supplied, then you must use the /VOLUME
qualifier to tell Defrag PLUS the parameter is a volume name,
rather than a script name.
o If a volume name is entered as a parameter, the /VOLUME
qualifier must be used.
3.1 - /CONTINUOUS
/CONTINUOUS (default)
/NOCONTINUOUS
The /CONTINUOUS qualifier invokes a continuous
monitor display. Entering Ctrl/C, Ctrl/Y, or Ctrl
/Z terminates this display.
Using /NOCONTINUOUS provides a snapshot display and
then returns to the DCL prompt.
3.2 - /VOLUME
/VOLUME (default)
/NOVOLUME
The /VOLUME qualifier indicates that a volume name
instead of a script name is present on the command
line. The /VOLUME qualifier must be used when a
volume name is provided as a parameter to the MONITOR
subcommand.
The following are examples of invoking the monitor:
1.$ DEFRAGMENT MONITOR MY_SCRIPT/NOVOLUME
In this example, the monitor function displays ongoing run-time
statistics for the defragmentation process associated with MY_
SCRIPT. It also displays an approximate free-space map of the
target volume. The display continues until interrupted with a
Ctrl/C, Ctrl/Y, or Ctrl/Z because the /CONTINUOUS qualifier is
present by default.
2.$ DEFRAGMENT MONITOR DISK$ONE/NOCONTINUOUS
In this example, the defragmentation process executing against
DISK$ONE is monitored. Since the /NOCONTINUOUS qualifier was
specified, the monitor function samples the defragmentation
process statistics and the free space on DISK$ONE one time
before exiting to the DCL prompt.