get to know your hardware information

December 26th, 2006 mysurface Posted in Hardware, lshw | Hits: 67377 | 9 Comments »

You can obtain cpu and memory info by doing this:

cat /proc/cpuinfo
cat /proc/meminfo

But what if you want to have a peek of all hardware you have and its information?

lshw

With root privilege, lshw shows you more hardware details then without.

How about I don’t want too much details but just to have a nice list of all the hardware?

lshw -short

The output will be like this:


H/W path           Device     Class          Description
========================================================
                              system         Inspiron 510m
/0                            bus            0H1908
/0/0                          memory         BIOS
/0/400                        processor      Intel(R) Pentium(R) M processor 1.50GHz
/0/400/700                    memory         L1 cache
/0/400/701                    memory         L2 cache
/0/1000                       memory         System Memory

You can filter based on class, for example I want all hardware info regarding to memory.

lshw -class memory

9 Responses to “get to know your hardware information”

  1. I am running OpenSUSE 10.1 and SLED 10. I can’t seem to find lshw. Do I need to install any additional stuff?

  2. Yes, you need to install lshw package. You need to search for the rpm, or try to search using Yast.

    You may check out here too,
    http://rpm.pbone.net/index.php3?stat=3&search=lshw&srodzaj=3

  3. Wojciech Sciesinski Says:

    On OpenSuSE you can use: yast hwinfo

  4. mysurface, Wojciech,

    Thanks for your help.

    Eric

  5. [...] with XSLT. You can also get some samples from the W3C tutorial to try out xsltproc. Related Postsget to know your hardware information You can obtain cpu and memory info by doing [...]

  6. very cool weblog. Afflicted me with a a lot better information about often the industry. Cheers friend

  7. Eric yeoh, hav u tried /sbin/lshw

  8. “I hate to interrupt,” interrupted Hanzo, “but you are to meet the council of Amegakure. It is also the first game that those four individuals met for the first time since Yoshi’s Island 2. There is quite a bit that takes place within this volume that will leave new comers scratching their heads trying to make heads and tails of the multiple threads running throughout.

    Look into my page :: glitch in clash of clans

  9. Hi there, the whole thing is going sound here and ofcourse every one is sharing data, that’s in fact excellent, keep up writing.

Leave a Reply