- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- how to get console variables from alpha system cra...
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
07-30-2010 06:00 AM
07-30-2010 06:00 AM
how do i get console variable information from a alpha crash dump.
what is the command?
Scotty
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2010 06:31 AM
07-30-2010 06:31 AM
Re: how to get console variables from alpha system crash dump
Regards,
Bhadresh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2010 06:31 AM
07-30-2010 06:31 AM
Re: how to get console variables from alpha system crash dump
'console variables' are stored in the SRM console memory. I don't think this memory is available in an OpenVMS system dump.
What are you interested in ?
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2010 07:38 AM
07-30-2010 07:38 AM
Re: how to get console variables from alpha system crash dump
show symbol command does not give me the console variable information.
it gives only symbol information.
Volker Halle>>
i know how to change console variables but i was curious to know if i get
what AUTO_ACTION is set from the crash dump.
from what you say, console variables might not be stored in the crash dump.
thanks for information.
Scotty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2010 09:44 PM
07-30-2010 09:44 PM
Re: how to get console variables from alpha system crash dump
$ WRITE SYS$OUTPUT F$GETENV("AUTO_ACTION")
That's if you want current information, not for gleaning it from the dump, so may not be what you're looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2010 08:08 PM
08-01-2010 08:08 PM
SolutionI believe F$GETENV and the underlying system service $GETENV request the information on demand from the console subsystem directly, rather than just reading from a structure in memory. That would mean the values aren't stored by the OS, and therefore unlikely to be available from a crash dump. Maybe worth looking at the source of $GETENV to confirm.
Your request seems reasonable to me. Maybe you should log a service case requesting that the console variables be stored somewhere that is written to the dump?
Note that if it is implemented, it's likely to be a compromise. For example, reading all console variables at boot time and stashing them in memory, thus any updates made on the console after boot time may not be reflected in the dump. I'd guess that for most purposes that wouldn't matter.
It's unlikely that OpenVMS engineering would implement a call to $GETENV at the time of the crash, as dump processing is fairly strictly focused on getting the dump out to disk. Since the system is, by definition, in an inconsistent state, there's no scope for doing anything which might make things worse.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2010 04:00 PM
08-02-2010 04:00 PM
Re: how to get console variables from alpha system crash dump
Thinking about this a bit more, you could run a detached process that reads all the console variables and keeps them in memory. SMOP.
See attached command procedure.
$ @GETENV
will build a non-privileged program and run a detached process to sample the variables.
$ @GETENV #UPDATE
will resample the variables
$ @GETENV #STOP
$ @GETENV #START
$ @GETENV #SHOW
to stop, start and show the process
$ @GETENV #DISPLAY
to dump the block of memory containing the variables using SDA.
$ @GETENV #BUILD [force]
to recompile and relink the sample and update programs.
In a dump, use SHOW SUMMARY to find the process called GETENV, then
SDA> EXAMINE 20000;600
to dump the data. Depending the memory starvation of your system, in practice it may be necessary to add a $LKWSET to keep the data in working set, or in extreme cases maybe even $LCKPAG (privileged). Left as an exercise.
It may also be necessary to add the GETENV process to the priority list for dumping. Somewhere around there's a file containing the priority list.
Minimal testing, seems to work... can't really do much damage, no privilege required.
[undocumented trap for the unwary! $GETENV requires the buffer into which the string is written to be QUAD aligned, hence the line:
.BLKB <8-<<%LENGTH(name)+1>&7>>&7
]
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-01-2010 05:12 AM
09-01-2010 05:12 AM
Re: how to get console variables from alpha system crash dump
closing this for now.
Scotty