HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- command procedure help
Operating System - OpenVMS
1828032
Members
1909
Online
109973
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2011 06:14 AM
03-22-2011 06:14 AM
command procedure help
hello,
i am writing a command procedure to analyze crash dumps. to start, i write a procedure to analyze the crash dump, run some command, take output to file. but this not working.
crash.com -
$anal/crash
clue crash
$exit
$@crash.com/out=crash.log
when i run this, it waits in sda> prompt and does not execute the clue crash command in com file.
i dont want to put the commands in a file and run that from inside the crash dump at sda> prompt.
what i want is for the above procedure to open the crash dump, then execute the commands that i have given and take the output to logfile.
Scotty
i am writing a command procedure to analyze crash dumps. to start, i write a procedure to analyze the crash dump, run some command, take output to file. but this not working.
crash.com -
$anal/crash
clue crash
$exit
$@crash.com/out=crash.log
when i run this, it waits in sda> prompt and does not execute the clue crash command in com file.
i dont want to put the commands in a file and run that from inside the crash dump at sda> prompt.
what i want is for the above procedure to open the crash dump, then execute the commands that i have given and take the output to logfile.
Scotty
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2011 06:29 AM
03-22-2011 06:29 AM
Re: command procedure help
What version/platform.
It works for me on Alpha 8.3, but some caveats...
1) you may want to provide a crash dump file. If not..
$ cre c.com
$anal/crash 'p1
clue crash
$exit
$ @c
%SDA-F-OPENIN, error opening ...CLUECRASH.DMP; as input
-RMS-E-FNF, file not found
2) do you have privs? if not...
$ dir sys$errorlog:*.dmp
x.DMP;1
$ @c sys$errorlog:x.DMP
%SDA-F-OPENIN, error opening x.DMP; as input
-RMS-E-FNF, file not found
%DCL-W-SKPDAT, image data (records not beginning with "$") ignored
$ set proc/priv=all
$ set veri
$ @c sys$errorlog:x.DMP
$anal/crash SYS$ERRORLOG:x.DMP
OpenVMS system dump analyzer
3) $define/user sys$command sys$input !as needed?
fwiw,
Hein
It works for me on Alpha 8.3, but some caveats...
1) you may want to provide a crash dump file. If not..
$ cre c.com
$anal/crash 'p1
clue crash
$exit
$ @c
%SDA-F-OPENIN, error opening ...CLUECRASH.DMP; as input
-RMS-E-FNF, file not found
2) do you have privs? if not...
$ dir sys$errorlog:*.dmp
x.DMP;1
$ @c sys$errorlog:x.DMP
%SDA-F-OPENIN, error opening x.DMP; as input
-RMS-E-FNF, file not found
%DCL-W-SKPDAT, image data (records not beginning with "$") ignored
$ set proc/priv=all
$ set veri
$ @c sys$errorlog:x.DMP
$anal/crash SYS$ERRORLOG:x.DMP
OpenVMS system dump analyzer
3) $define/user sys$command sys$input !as needed?
fwiw,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2011 07:52 AM
03-22-2011 07:52 AM
Re: command procedure help
See SYS$STARTUP:CLUE$STARTUP.COM
for some hints.
for some hints.
____________________
Purely Personal Opinion
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-24-2011 07:50 AM
03-24-2011 07:50 AM
Re: command procedure help
This is what I use.
$ ANALYZE/CRASH_DUMP SYS$SYSTEM:SYSDUMP.DMP
COPY SYS$SYSTEM:SAVEDUMP.DMP
SET OUTPUT SYS$SYSTEM:SAVEDUMP.LIS
SHOW CRASH
SHOW STACK/ALL
SHOW SUMMARY
SHOW PROCESS/PCB/PHD/REGISTERS
EXIT
$ ANALYZE/CRASH_DUMP SYS$SYSTEM:SYSDUMP.DMP
COPY SYS$SYSTEM:SAVEDUMP.DMP
SET OUTPUT SYS$SYSTEM:SAVEDUMP.LIS
SHOW CRASH
SHOW STACK/ALL
SHOW SUMMARY
SHOW PROCESS/PCB/PHD/REGISTERS
EXIT
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP