get to know your hardware information
* * * * * 1 votos
December 26th, 2006 mysurface Posted in Hardware, lshw | Hits: 14308 |
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
Live Chat!









December 26th, 2006 at 4:52 pm
I am running OpenSUSE 10.1 and SLED 10. I can’t seem to find lshw. Do I need to install any additional stuff?
December 26th, 2006 at 6:00 pm
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
December 26th, 2006 at 9:50 pm
On OpenSuSE you can use: yast hwinfo
December 27th, 2006 at 11:47 am
mysurface, Wojciech,
Thanks for your help.
Eric