Operating System - HP-UX
1752604 Members
4407 Online
108788 Solutions
New Discussion юеВ

Viewing hardware information

 
Mark Greene_1
Honored Contributor

Re: Viewing hardware information

Mr. Peter Van Giel shared this script on ITRC a year or so ago. The search didn't turn-up the thread, so I've attached the copy I downloaded. I'm not sure if it's the most current version or not.

Download the script to your HP server, run it, print the output, and keep it somewhere safe. If you ever have to rebuild your file systems, you'll have all the info you need to do so.

mark
the future will be a lot like now, only later
Zeev Schultz
Honored Contributor

Re: Viewing hardware information

echo "sall;wait;wait;il" | cstm > all.log
basically its the same as to do 'select device + info. log' for each device in stm.

In newer systems stm shows device system() which returns information on power supplies,fans etc.

Notice however,that the above line returns somewhat not usefull information on cpu's (like pdcinfo). I usually like to use GSP's (Ctl+B from console or LAN console) SS command (and PS command for power system devices).I mean if cpu is missing none of hp-ux tools would show it but GSP will show it as deconfigured.

Zeev
So computers don't think yet. At least not chess computers. - Seymour Cray
T. M. Louah
Esteemed Contributor

Re: Viewing hardware information

To add to above, for print_manifest you need ignite (IUX) more info can be found here: http://www.software.hp.com/products/IUX/
Note: pax patch is required.
STM (cstm command-line & menu driveb, xstm if you like GUIs) great tool from onlineDiagnostics refer to STM guide for HOW-TOs :
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-1816/5187-1816_top.html&con=/hpux/onlinedocs/5187-1816/00/00/13-con.html&toc=/hpux/onlinedocs/5187-1816/00/00/13-toc.html&searchterms=OnlineDiag&queryid=20031221-085655

regards,
T+
Little learning is dangerous!
Geoff Wild
Honored Contributor

Re: Viewing hardware information

There are also other utilities like:

cfg2html

http://freshmeat.net/projects/cfg2html/?topic_id=253

sysinfo204 - see the following thread:

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

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.
Todd McDaniel_1
Honored Contributor

Re: Viewing hardware information

I stumbled upon this a few days ago... very nice

# print_manifest > system_manifest.out

Gives you a look at all the complete setup of your box. i/o h/w luns, fiber, kernel settings, memory, swap, cpu, et all.

NAME
print_manifest - print a system manifest

SYNOPSIS
print_manifest [-s] [-t template_file] [-f manifest_file]
[-o] [-e] [-i hw_path]

DESCRIPTION
This utility prints a formatted ASCII system manifest to stdout. The
manifest includes information on hardware and software installed and
configured on the system. It gathers information about the system
every time it is run.
Unix, the other white meat.
Lorenzo Facello
Valued Contributor

Re: Viewing hardware information


/opt/ignite/print_manifest
It's all that you need

you can try also with sam
Performance Monitors --> System Proprerties