- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: ANALYZE/SYSTEM Information
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
Discussions
Discussions
Forums
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
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
тАО11-07-2004 08:49 AM
тАО11-07-2004 08:49 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 09:55 AM
тАО11-07-2004 09:55 AM
Re: ANALYZE/SYSTEM Information
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 09:57 AM
тАО11-07-2004 09:57 AM
SolutionThere is "MCR SDA" which will activate the system dump analyzer, but it expects a dump file name as a parameter, not an SDA command.
(Trivia quiz... which OpenVMS engineer's car number plate is "MCR SDA"? ;-)
SDA has an "@" command, so you can batch up commands in a file and execute them. You can also use the PIPE command as discussed in a previous thread to feed input into a program like SDA. For example:
$ in="write sys$output"
$ pipe (in "show summ" ; in "show proc") | -
analyze/system
To capture the output, use I/O redirection:
$ pipe (in "show summ" ; in "show proc") | -
analyze/system > SDA.OUT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 10:11 AM
тАО11-07-2004 10:11 AM
Re: ANALYZE/SYSTEM Information
There is no direct way, but as John says, a pipe should get you close enough.
I guess you dismissed the idea of creating a temp command file, with the commands to execute, and activate that?
$open/write tmp tmp.com
$write tmp "$analyze /system"
$write tmp "show ...."
$close tmp
$@tmp
Now you would also expect as an option is
to just put the SDA commands in a file and point sys$input to that.
$create sda.tmp
show ....
$defi/user sys$input sda.tmp
$anal/system
This should work, but fails on some VMS versions with "%SYSTEM-F-IVDEVNAM, invalid device name". It fails on my old 7.1 system.
This is because SDA tried to be smart about page size. So there's a $GETDVI to determine page size, line width,.. which fails on a disk device. Maybe it works on you VMS version?
Hein,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 07:15 PM
тАО11-07-2004 07:15 PM
Re: ANALYZE/SYSTEM Information
don't forget SDA before starting execute a initialization file by logical name SDA$INIT or called SYS$LOGIN:SDA.INIT;
So you can execute follow code:
$ type sys$input /out=sys$login:sda.ini
show summary
exit
$ def SDA$INIT sys$login:sda.ini
$ anal/sys
$ delete/log sys$login:sda.ini;*
This work on every version of VMS.
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:28 PM
тАО11-07-2004 11:28 PM
Re: ANALYZE/SYSTEM Information
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=712900
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 11:50 PM
тАО11-07-2004 11:50 PM
Re: ANALYZE/SYSTEM Information
is the answer cmos?
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 12:03 AM
тАО11-08-2004 12:03 AM
Re: ANALYZE/SYSTEM Information
How abour Richard B. ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 12:55 AM
тАО11-08-2004 12:55 AM
Re: ANALYZE/SYSTEM Information
(Trivia quiz... which OpenVMS engineer's car number plate is "MCR SDA"? ;-)
If you have a car in america , i would expect you have such a plate!!!
Greetings Kuddel!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 06:44 AM
тАО11-08-2004 06:44 AM
Re: ANALYZE/SYSTEM Information
please give Kuddel 10 wel-deserved points out of my name! :-) :-)
Cheers.
Have one on me.
Jan