Operating System - HP-UX
1833777 Members
1918 Online
110063 Solutions
New Discussion

Re: Viewing hardware information

 
dong_1
Contributor

Viewing hardware information

hi all.
I want to view hardware information in HP-UX.Ex:CPU,HDD, raid .... Can you see me about it?
Tnanks
15 REPLIES 15
Mark Grant
Honored Contributor

Re: Viewing hardware information

There are lots of ways but "ioscan -fnk" will show you nearly everything.

Never preceed any demonstration with anything more predictive than "watch this"
T G Manikandan
Honored Contributor

Re: Viewing hardware information


SAM--->performance Monitor-->system properties-->
Massimo Bianchi
Honored Contributor

Re: Viewing hardware information

Also you can use

xstm

it's a graphical interfacel for looking at every hw on the server and getting much more information than ioscan.


There are the the cli version (cstm) and screen version (mstm)

Massimo
John Carr_2
Honored Contributor

Re: Viewing hardware information

Hi

xstm is good it comes as part of the Online Diagnostic Environment a seperate CD to the core o/s and can be used to check the hardware as well :-) John.
T G Manikandan
Honored Contributor

Re: Viewing hardware information

Also,
if you have ignite installed you can do a

#/opt/ignite/bin/print_manifest

To have more information get this

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/
Michael Tully
Honored Contributor

Re: Viewing hardware information

There was an integrated tool introduced in Australia called 'SIR' which creates web pages etc. We find this fantastic for development groups and architecture. See your local HP office to see if these tools can be provided.

Other than that your best bet is xstm/cstm/mstm which really drills down in detail.
Anyone for a Mutiny ?
I.Delic
Super Advisor

Re: Viewing hardware information

Hi,

I suggest to use xstm




succes

Idriz
Srinivas Thokala_1
Frequent Advisor

Re: Viewing hardware information

Hi,
Get the required H/W info by using cstm.

#/usr/sbin/cstm
cstm>map
cstm>sel dev 1
cstm>infolog
You can look all the info.
cstm>quit and OK.

-Srini
Srinivas Thokala
Uday_S_Ankolekar
Honored Contributor

Re: Viewing hardware information

/opt/ignite/bin/print_manifest.
This is the easiest and fastest...!
Good Luck..
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