Previous | Contents | Index |
Table 7-5 shows BACKUP command formats for copy operations, including some of the qualifiers you can use with a copy operation.
Command Action | Command Format and Example |
---|---|
Copies a directory tree to another directory tree |
BACKUP [directory...] [directory...]
$ BACKUP [DAKOTA...] [SUNDANCE...] |
Copies a file to another file |
BACKUP file-spec file-spec
$ BACKUP LOGIN.COM [.SAVE]OLDLOGIN.COM |
Copies a disk volume to another disk volume |
BACKUP/IMAGE ddcu: ddcu:
$ BACKUP/IMAGE DBA1: DBA2: |
Copies a disk volume to another disk volume using the /PHYSICAL qualifier |
BACKUP/PHYSICAL ddcu: ddcu:
$ BACKUP/PHYSICAL DYA1: DYA2: |
Copies two disk volume sets using the /IMAGE qualifier |
BACKUP/IMAGE volume-set-name ddcu:,ddcu:
$ BACKUP/IMAGE USER$: DBA1:,DBA2: |
Table 7-6 shows BACKUP command formats for compare operations, including some of the qualifiers you can use with a compare operation.
Command Action | Command Format and Example |
---|---|
Compares two Files--11 files |
BACKUP/COMPARE file-spec file-spec
$ BACKUP/COMPARE UPLIFT.EXE;3 UPLIFT.EXE;2 |
Compares a selected file from a save set and a Files--11 file |
BACKUP/COMPARE save-set-specifier/select=file-spec file-spec
$ BACKUP/COMPARE MTA0:FEB2.BCK/SELECT=[POUDRE]UPLIFT.PAS - _$ UPLIFT.PAS |
Compares an image save set and Files--11 files |
BACKUP/COMPARE/IMAGE save-set-specifier ddcu:
$ BACKUP/COMPARE/IMAGE MTA0:12OCT.BCK DRA3: |
Table 7-7 shows BACKUP command formats for a list operation, including some of the qualifiers you can use with a list operation.
Command Action | Command Format and Example |
---|---|
Lists the files in a save set at the terminal |
BACKUP/LIST save-set-specifier
$ BACKUP/LIST MTA0:1618FEB2.BCK |
Lists the files in a save set, writes to a file |
BACKUP/LIST=file-spec save-set-specifier
$ BACKUP/LIST=NEWLIST.LIS MTA0:1618FEB2.BCK |
Lists the files in a save set in full format |
BACKUP/LIST/FULL save-set-specifier
$ BACKUP/LIST/FULL MTA0:1618FEB2.BCK |
Lists selected files in a journal file |
BACKUP/LIST/JOURNAL=journal-name/selection-qualifiers
$ BACKUP/LIST/JOURNAL=SYS$MANAGER:INCBACKUP - _$ /SELECT=[LYKINS.WORK...]/SINCE=1-JAN-2002 |
On VAX systems, you can use the Crash Log Utility Extractor (CLUE) to display the contents of a crash history file. The crash history file, which is created and updated by CLUE, contains key parameters from crash dump files. Unlike crash dumps, which are overwritten with each system failure (crash) and are therefore typically available only for the most recent failure, the crash history file is a permanent record of system failures. By examining the contents of the crash history file with the CLUE/DISPLAY command, you can understand and resolve the issues responsible for some crashes and you can also obtain other useful data.
On Alpha and I64 systems, CLUE features are provided through System
Dump Analyzer (SDA) utility commands. For more information, see the
OpenVMS Alpha System Dump Analyzer Utility Manual.
8.2 CLUE Usage Summary (VAX Only)
When a system fails, physical memory is copied to the crash dump file, and CLUE automatically appends the relevant parameters to a file named CLUE$OUTPUT:CLUE$HISTORY.DATA. You can use CLUE to display and examine the data in this file.
CLUE /DISPLAY
None.
Before you run CLUE, define the CLUE command (either interactively or in a procedure such as a login command procedure), as follows:
$ CLUE :== $CLUETo invoke CLUE, enter the CLUE/DISPLAY command. To terminate CLUE, enter the EXIT command at the CLUE_DISPLAY> prompt or press Ctrl/Z.
Note that you can also issue CLUE/DISPLAY commands directly from DCL, as in the following example:
$ CLUE/DISPLAY = DIR/TYPE=INVEXCEPTN/SINCE=21-NOV-2002/OUT=CLUE.LIS
This section describes and provides examples of the CLUE /DISPLAY commands. You can abbreviate any command, keyword, or qualifier as long as the abbreviation is not ambiguous. The asterisk and the percent sign can be used as wildcard characters in the specification of user names, node names, and UICs.
The following table lists the commands described in this section:
Command | Description |
---|---|
DELETE | Deletes an entry from the crash history file |
DIRECTORY | Displays a list of entries from the crash history file |
EXIT | Exits from CLUE |
EXTRACT | Extracts data from an entry in the crash history file to a file |
HELP | Provides online help for CLUE/DISPLAY commands |
SHOW | Displays specific information for an entry in the crash history file |
Deletes an entry from the list and writes the remaining entries to a binary file.
DELETE n
n
The number of the entry that you want to delete from the crash history file. The number of the entry corresponds to the entry number shown by the DIRECTORY command.
Entries in the CLUE.BIN file can be permanently removed using the DELETE command. This command deletes the specified entry and writes the remaining entries to an output file. When an entry is deleted from the crash history file, a new history file (with a higher version number) is created.
CLUE_DISPLAY> DELETE 4 |
Deletes the fourth entry in the list.
Displays a brief summary of each entry in the crash history file.
DIRECTORY
/MODULE=
Lists all failures that correspond to the specified module (that is, failures that start with the specified string)./OFFSET=
Lists all failures that correspond to the specified offset (that is, failures that start with the specified string)./SINCE=
Lists all failures that have occurred since the specified date. If the /SINCE qualifier is used and no date is specified, all failures that have occurred on the current day are listed./TYPE=
Lists all failures that correspond to the specified type (that is, failures that start with the specified string).
The DIRECTORY command lists the record entries in the crash history file, beginning with the most recent entry. Six headings are displayed for each entry:
- Entry number
- Date and time of crash
- Type
- Process
- Module
- Offset
You can use one or more qualifiers for the DIRECTORY command to limit the crash entries that are displayed. You can also use more than one qualifier in the same command line. For example, the command DIRECTORY/SINCE=18-APR-2002/MODULE=NETACP lists only those crash entries that have taken place since April 18, 2002, and for which the module is NETACP.
#1 | |
---|---|
CLUE_DISPLAY> DIRECTORY
|
This example lists all entries in the crash history file.
#2 | |
---|---|
CLUE_DISPLAY> DIRECTORY /MODULE=SYSLOA
|
This example lists only those entries for which the module is SYSLOA.
Exits from CLUE.
EXIT
This command exits from CLUE and returns you to the DCL level.
CLUE_DISPLAY> EXIT $ |
This example exits from CLUE.
Extracts all of the data from an entry in the crash history file to either an ASCII or a binary file.
EXTRACT n
n
The number of the entry that you want to extract to a file. The number of the entry corresponds to the entry number shown by the DIRECTORY command.
/BINARY=filename.bin
The /BINARY qualifier writes the output to a binary file./OUTPUT=filename.txt
The /OUTPUT qualifier writes the output to an ASCII file. The /OUTPUT qualifier is the default.
Use the EXTRACT command to save record entries from the crash history file to an ASCII or a binary file. If no qualifier is used, entry is written to a text file with the name CLUE$HISTORY.TXT.
CLUE_DISPLAY> EXTRACT 3 /OUTPUT=15MAYCRASH.TXT |
This command writes the data from entry number 3 in the crash history file to an ASCII file named 15MAYCRASH.TXT.
Provides online help for CLUE commands.
HELP [command]
command
The command for which you want help.
CLUE_DISPLAY> HELP DIRECTORY |
This command provides online help for the DIRECTORY command in CLUE.
Displays specific information for an entry in the crash history file.
SHOW info_type n
info_type
You must choose one of the following information types:
- CRASH---displays information similar to the SHOW CRASH command in the System Dump Analyzer (SDA) utility.
- STACK---displays information similar to the SHOW STACK command in SDA.
- EXEC---displays information similar to the SHOW EXEC and SHOW DEVICE commands in SDA.
- ISTREAM---displays the instruction stream around the failing PC.
- SUMMARY---displays the active processes on the system, similar to the SHOW SUMMARY/IMAGE command in SDA.
- ALL---displays all the information from the preceding types.
For more information about SDA commands, see the OpenVMS VAX System Dump Analyzer Utility Manual.
n
The number of the entry for which you want to display information. The number of the entry corresponds to the entry number shown by the DIRECTORY command.
This command lets you see all the data associated with a particular failure. This information is split into several sections; you can choose to see either individual sections or all of the information.If the crash number is not specified, information for the most recent entry in the crash history file is displayed. You must, however, specify one of the keywords for info_type.
If you request a specific entry from the crash history list (using the SHOW n command), the display will include some parameters that are useful only to HP service representatives.
#1 | |
---|---|
CLUE_DISPLAY> SHOW ISTREAM 4
|
This example displays instruction stream information around the failing PC from the crash history file for entry number 4.
#2 | |
---|---|
CLUE_DISPLAY> SHOW CRASH 4
|
This example displays information about the state of the system at the time of the failure. The actual output from this command may contain significantly more information than is shown in this example.
Previous | Next | Contents | Index |