2

Possible Duplicate:
checking hardware on linux

I want to list all the hardware details about my system. To start with I've following things in my mind.

processor memory bios hba

I've got few details about processor like

processor: Current Speed, Max Speed, Family, Manufacturer, Version, No of CPU's

Can anybody expand the list for me of what other hardware details i need to figure out.

doubledecker
  • 1,807
  • 3
  • 15
  • 13

3 Answers3

3

Take a look into lspci, lshw, lscpu and dmidecode.

Renan
  • 17,136
  • Debian and Ubuntu (perhaps others — it's in the util-linux package) also have lscpu which gives you lots of information about your CPU(s) and the way they're interrelated. – Alexios Mar 09 '12 at 12:18
  • @Alexios Interesting. Will add on my answer. – Renan Mar 09 '12 at 12:33
3

Here is a little collection of the basic command-line utilities for this task.

Especially lshw and lspci are very useful. Occasionally dmidecode could carry additional information - I never ever had to use it, although.

As far as I know, report-hw is extremely useful in Debian-based systems (not tested).

biosdevname gives you the BIOS-given name of a device. It is needed rarely, but in some scenarios it could save life.


You didn't ask, but hdparm and sdparm are useful for harddisks and solid state drives, respectively. smartctl is for SMART-operations.

vakufo
  • 667
1

I like to add lsusb and lsdev as well, but probably one of the best hints is:

Try cfg2html, this is a script that calls all other scripts to give you an overview about your system.

ddeimeke
  • 4,597