Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get a hardware list 1

Status
Not open for further replies.

toolboy

MIS
Jul 20, 2001
3
US
Is there a command or set of commands that I can run from the shell to get a list of all hardware on a Linux server? I'm looking for something similar to HP's lsdev or Sun's prtconf.

Thanks.
 
I think there is not only one cmd.
Take a look at the fs /proc there are many info about hardware (cpu type, irq,ioport,device,...).
Other command are

lspci (see man )
pnpdump (see man)
hdparm (see man)

If you say what are you looking for maybe a can help you.
 
Hi,

You can 'cat' various files in the /proc filesystem to get various bits of info :

cat /proc/pci (Whats on PCI bus)
cat /proc/ide/*/model (Ide devices)
cat /proc/scsi/scsi (scsi devices)
cat /proc/cpuinfo (you guessed...)

Regards
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top