The following examples show how to invoke 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.