HPE 9000 and HPE e3000 Servers
cancel
Showing results for 
Search instead for 
Did you mean: 

Any way to capture GSP output of "sysrev" command ?

 
S.Rider
Regular Advisor

Any way to capture GSP output of "sysrev" command ?

I can run the "sysrev" command from the gsp cm: prompt and get all kinds on wonderfull information. We'd like to include it in the various types of system information/files that we regularly back up for documentation puroses. I'm guessing since sysrev reports on hardware, there isn't a unix software command equivalent. Anyone know of a way to automagically capture the "gsp cm:sysrev" output in a unix flat file ?
Ride Boldly Ride, but watch out for El Dorado's
8 REPLIES 8
RAC_1
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?

cut and paste
There is no substitute to HARDWORK
harry d brown jr
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?


depending on the system, a laptop or a lanconsole would allow you to cut and paste.

stm and xstm also provides a lot of info!

live free or die
harry d brown jr
Live Free or Die
Jeff Schussele
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?

Hi Jay,

What I would do is access the GSP from an HP-UX workstation and run the script command just prior to telnetting to the LAN console to capture the output to a file.
You can them trim the unnecessary stuff like the actual telnet responses & the menu traversal of the GSP.

My $0.02,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Devender Khatana
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?

Hi,

Even if you telnet to GSP/MP IP from a windows workstation using hyper terminal you can easily start capturing text prior to start running this command. After execution you can stop capturing. This results in txt file containing required information fully formatted.

This is how we capture errors appearing in booting OSs.

HTH,
Devender
Impossible itself mentions "I m possible"
Nguyen Anh Tien
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?

Hi Jay.
it depend on console software you use.
If you use Hyper terminal see cap1 picture.
I usually Secure CRT (cap2).
See attached file for more detail
HP is simple
Geoff Wild
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?

On top of what others mentioned - as far as data gathering, look at print_manifest

Or cfg2html

http://come.to/cfg2html

Or sysinfo301

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=634417


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
derek b smith_1
Regular Advisor

Re: Any way to capture GSP output of "sysrev" command ?

I have used cstm <sel dev #
map
info
il
EOF

But I question whether this is all the info from sysrev??? As I am not seeing some info such as cell revisions.

Andrew Rutter
Honored Contributor

Re: Any way to capture GSP output of "sysrev" command ?

hi,

what about #pdcinfo

Does that tell what you need?

either or select system in cstm and run info and infolog tool
echo "selclass qualifier system;info;wait;infolog" ¦ cstm > /tmp/systeminfo.txt

either that or copy and paste the text, or add to the script to log into gsp and run the command for you.

The nickel script is also a good tool to run for all system info

http://h20331.www2.hp.com/hpsub/cache/286022-0-0-225-121.html



Andy