Operating System - HP-UX
1837338 Members
3517 Online
110116 Solutions
New Discussion

Finding what hardware is installed

 
SOLVED
Go to solution
Steven Gloer
Occasional Contributor

Finding what hardware is installed

I'm doing some per-server documentation for all of our servers. One of the things I'd like to do is list the various hardware in and attached to each server.

dmesg tells me the amount of physical memory, and it looks like it also lists other things such as tape drives and hard disks. Is there another command out there that prints a more detailed description of hardware, including a bit more detail than simply stape, sctl, sdisk, etc., but includes maybe the manufacturer, model, etc..

Thanks
"D-d-d-dumbass"
5 REPLIES 5
Helen French
Honored Contributor
Solution

Re: Finding what hardware is installed

Hi,

Try:

1) ioscan -fn
2) stm
3) sam
4) print_manifest ( if ignite is installed )
5) diskinfo ( for disks )

HTH,
Shiju
Life is a promise, fulfill it!
Christopher McCray_1
Honored Contributor

Re: Finding what hardware is installed

Hello,

The ioscan or lssf command can give you this information.

Alternatively, there is a tool called stm, which you can run to give you a listing (cstm, mstm, xstm). My personal favorite is xstm because of the big pictures. :^)

Good luck

Chris
It wasn't me!!!!
S.K. Chan
Honored Contributor

Re: Finding what hardware is installed

Try this and see if this is what you want .. (using cstm)

# echo "selall;info;wait;infolog
> view
> done
> "|cstm > server-info
# more server-info

Other commands ..

# ioscan -fn
==> shows hrw path
# /opt/ignite/bin/print_manifest
==> ignite related info
Jeff Schussele
Honored Contributor

Re: Finding what hardware is installed

Hi Steven,

I'd also recommend the sysinfo utility - available at:

http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/

Get the pre-compiled version. Highly recommended. Gives complete details on firmware, disk pathing, LVM info, etc.

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
T. M. Louah
Esteemed Contributor

Re: Finding what hardware is installed

to add more to above, you can try run cstm --> at cstm prompt type map u will see something similar to :
Dev Last Last Op
Num Path Product Active Tool Status
=== ==================== ========================= =========== =============
1 8 Bus Adapter (580) Information Successful
2 10 Bus Adapter (580) Information Successful
3 10/0 SCSI Interface (15) Information Successful
4 10/0.0 C1300 Array (DGCC1300WDR0 Information Successful

.. then at cstm prompt type: sel dev device_nbr
for which you need to collect information
.. type then info then infolog, here an example:

cstm>sel dev 1
cstm>info
-- Updating Map --
Updating Map...
cstm>infolog

-- Converting a (964) byte raw log file to text. --
Preparing the Information Tool Log for Bus Adapter on path 8 File ...

.... newton.rose.hp.com : 15.43.232.70 ....

-- Information Tool Log for Bus Adapter on path 8 --

Log creation time: Tue Apr 2 12:23:08 2002
Hardware path: 8
Product ID: Bus Adapter
Hardware Path: 8
Module Type: I/O Adapter
Hardware Model: 0x580
Hardware Revision Number: 0x7
Software Revision Number: 0
Software Model Number: 0xb
Software Option: 0x50
Hard Physical Address: 0xfff88000
Slot Number: 2
IODC Revision: 0
SPA Size: 0x100
Standard input: END[Press space to continue, q to quit, h for help]

Hope this helps !
T??
PAP (a.k.a Please Assign Points!)
Little learning is dangerous!