What My PC has got, The Hardware?

I am pretty sure that most of you guys are interested about the hardware specs of your PC.  Most of you may already know it..
But here I am gonna just show the methods to know iff u don`t ..

In windows, one may have used softwares like that of Belarc Advisor and others OR if you are a system programmer then you may have used API to get the details of your hardware. ex-GetSystemInfo function.

Oops, what all I have got???

But what in case of Linux???

Those things wont work, You already know it!!!

So, lets check it out through the SHELL

$dmidecode (one of my fav. commands) 

As what its  README in source code syas,  Dmidecode reports information about your system’s hardware as described in your system BIOS according to

the SMBIOS/DMI standard. This information typically includes system manufacturer, model name, serial number, BIOS version, asset tag as well as a lot of other details of varying level of interest and reliability depending on the manufacturer. This will often include usage status for the CPU sockets, expansion slots (e.g. AGP, PCI, ISA) and memory module slots, and the list of I/O ports (e.g. serial, parallel, USB).

NOTE: Beware that DMI data have proven to be too unreliable to be blindly trusted. Dmidecode does not scan your hardware, it only reports what the BIOS told it..

It may be the case that you don`t have this command/utility on your system..so just download it

http://www.nongnu.org/dmidecode/

Untar it::

#tar zxvf dmidecode-2.9.tar.gz

and as usual go through the source code and make and make install it..(NO need to configure..if you look config file is already present)

lshw – lshw shows a comprehensive list of devices connected to our system and their info.

  • $sudo lshw

for a smaller output, you may use,

  • $sudo lshw -short

For getting the information about the devices attached to the PCI bus,

  • $lspci

To get the info about the attached USB devices,

  • $lsusb 


Use the above mentioned commands along with the grep command so as to filter out the content because if you use it normally Your terminal will be thrown with a lot data.

For more commands, Plz. do update me too through your comments!!

Advertisements

About Beyond

an electronics hobbyst, 8 bit microcontroller(8051/AVR/Arduino) programmer, Linux lover, in love with Embedded Linux systems ... TGL: just push it "BEYOND THE LIMITS"..

Posted on June 23, 2012, in Linux and tagged , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s