Operating System - Linux
1753511 Members
4747 Online
108795 Solutions
New Discussion юеВ

Re: RE: IOScan for HP-UX but how about linux?

 
SOLVED
Go to solution
Charles Ooi Chia Lun
Occasional Advisor

RE: IOScan for HP-UX but how about linux?

Dear Sir,
In HP-UX we use Ioscan to scan all the hardware existence on our systems. How about Linux? Thank you.

Regards
6 REPLIES 6
Denver Osborn
Honored Contributor
Solution

Re: RE: IOScan for HP-UX but how about linux?

on a few RHEL ES and AS boxes I used to manage, there was a util I used called "hardware lister". It did a pretty good job and helped dump the data into an "ioscan" like output. Also offered detailed output w/ html format.

You can find lshw here
http://ezix.sourceforge.net/software/lshw.html

Hope this helps,
-denver
Ralph Grothe
Honored Contributor

Re: RE: IOScan for HP-UX but how about linux?

Any detected HW that your running kernel supports can be found beneath /proc
Also for plug-in devices such as USB attached HW there will a detection message immediately be sent to console as well as /var/log/messages.
Additionally you can issue dmesg for boot up HW detection messages, and to scan your PCI bus you can issue lspci.
Madness, thy name is system administration
Ralf Hildebrandt
Valued Contributor

Re: RE: IOScan for HP-UX but how about linux?

1) lspci lists all devices on the PCI bus.
2) dmesg also give a good hint on what the kernel already detected.
3) Booting into knoppix from CD also gets a lot of hardware discovered.
Postfix/BIND/Security/IDS/Scanner, you name it...
Ross Minkov
Esteemed Contributor

Re: RE: IOScan for HP-UX but how about linux?

If you want ioscan like output use:

# lshw -short

For example on my server I get this as output:

H/W path Device Class Description
================================================
system ProLiant DL380 G3
/0 bus
/0/0 memory BIOS
/0/406 processor Intel(R) Xeon(TM) CPU 2.80GHz
/0/406/716 memory L1 cache
/0/406/726 memory L2 cache
/0/406/736 memory L3 cache
/0/406/7.1 processor Logical CPU
/0/406/7.2 processor Logical CPU
/0/400 processor CPU
/0/400/710 memory L1 cache
/0/400/720 memory L2 cache
/0/400/730 memory L3 cache
/0/400/7.1 processor Logical CPU
/0/400/7.2 processor Logical CPU
/0/1000 memory System Memory
/0/1000/0 memory DIMM DDR Synchronous 266 MHz (3.8 ns)
/0/1000/1 memory DIMM DDR Synchronous 266 MHz (3.8 ns)
/0/1000/2 memory DIMM DDR Synchronous 266 MHz (3.8 ns)
/0/1000/3 memory DIMM DDR Synchronous 266 MHz (3.8 ns)


You can get lshw from http://ezix.sourceforge.net/software/lshw.html.

Try also:

# lshw -C system


Also try this:

# lspci -tv

lspci will list all PCI devices; lspci is a utility for displaying information about all PCI buses in the system and all devices connected to them.

-v Tells lspci to be verbose and display detailed information about all devices.
-t Show a tree-like diagram containing all buses, bridges, devices and connections between them.




Regards,
Ross
Alan_152
Honored Contributor

Re: RE: IOScan for HP-UX but how about linux?

I've seen a few ports of ioscan for *nix, but I've found that cat /proc/scsi/* works pretty well for my needs...
Paul Cross_1
Respected Contributor

Re: RE: IOScan for HP-UX but how about linux?