HP OpenVMS System Manager's Manual, Volume 2:... |
Managing Page, Swap, and Dump Files |
|
|
| |
Freeing Dump Information from the Page File
Using the Page File to Store System Crash Dumps explains when you might use the page file to store a system crash dump.
Freeing Dump Information on VAX, Alpha, and
I64 Systems ![]()
This section contains instructions for freeing dump information
from the page file on VAX, Alpha, and I64 systems.
How to Perform This Task on VAX Systems![]()
On VAX systems, perform the following steps:
$ANALYZE/CRASH_DUMP SYS$SYSTEM:PAGEFILE.SYS
SDA>COPY DISK$USER5:[DUMPS]SAVEDUMP.DMP
Alternatively, to free the pages in the page file that are taken up by the dump without having to copy the dump elsewhere, enter the ANALYZE/CRASH_DUMP/RELEASE command. This command immediately releases the pages to be used for system paging, effectively deleting the dump. Note that this command does not allow you to analyze the dump before deleting it.
The following commands, added to the SYSTARTUP_VMS.COM command procedure, copy the contents of the page file to a file named SAVEDUMP.DMP:
$ ANALYZE/CRASH_DUMP SYS$SYSTEM:PAGEFILE.SYS COPY DISK$USER5:[DUMPS]SAVEDUMP.DMP EXIT $ SET FILE/NOBACKUP SYS$SYSTEM:SAVEDUMP.DMPHow to Perform This Task on Alpha and I64 Systems
On Alpha and I64 systems, as described in the OpenVMS System Analysis Tools Manual , SDA is automatically invoked by default when the system is rebooted after a system failure.
To automatically save the system dump file, perform the following steps:
! ! SDA command file, to be executed as part of the system ! bootstrap from within CLUE. Commands in this file can ! be used to save the dump file after a system bugcheck, and ! to execute any additional SDA command. ! READ/EXEC ! Read in the executive images' symbol tables SHOW STACK ! Display the stack COPY SAVEDUMP.DMP ! Copy and save system dump file !
In this example, the site-specific file is named SAVEDUMP.COM.$DEFINE/SYSTEM CLUE$SITE_PROC SYS$MANAGER:SAVEDUMP.COM
If the logical CLUE$INHIBIT has been defined, and SDA has not been automatically invoked during system startup, the pages in the page file that are taken up by the dump can be released using the ANALYZE/CRASH_DUMP/RELEASE command. This command immediately releases the pages to be used for system paging, effectively deleting the dump. Note that this command does not allow you to analyze the dump before deleting it.
For a discussion of logical names used by CLUE, refer to OpenVMS System Analysis Tools Manual .
Usage
Notes for Freeing Dump Information on VAX, Alpha, and I64 Systems ![]()
Because a system dump file can contain privileged information,
protect copies of dump files from world read access.
To prevent the system from backing up the complete contents of the file, assign the NOBACKUP attribute to the file with the DCL command SET FILE/NOBACKUP.
Although you can also use the DCL command COPY to copy a dump file, HP recommends that you use the SDA command COPY because SDA COPY performs the following actions:
|
|