Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2011, 08:02 AM   #1
LQ Newbie
Registered: Mar 2011
Posts: 3

Rep: Reputation: 0
Smile Identifying machine harware compatibility on linux.

a. How can I determine the harware type of the machine where the linux is running ?

b. Also, what exactly is the difference between machine hardware name and hardware platform ? (uname -m and uname -i)

c. Output from my machine shows,
- uname -i as i386 and
- uname -m as i686
Old 05-06-2011, 10:22 AM   #2
Senior Member
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
I think the /proc directory would have data about the hardware, also lspci should reveal a lot.
Old 05-06-2011, 10:40 AM   #3
Senior Member
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,753

Rep: Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935Reputation: 935
a- lshw, dmidecode, hardinfo all will give you some details on the hardware the linux box is running on. I prefer the eyeball method myself, maybe thats just because I like looking at hardware, not readouts.

uname [OPTION]...

-m, --machine
print the machine hardware name
-i, --hardware-platform
print the hardware platform or "unknown"
Old 05-06-2011, 05:00 PM   #4
Registered: Mar 2005
Location: Ohio
Distribution: Freebsd and Ubuntu
Posts: 69

Rep: Reputation: 17
'lspci' will reveal all the pci devices on your system, such as soundcards and video cards.

If you want a more detailed, very verbose output, use 'dmesg' (pipe it through more 'dmesg | more' to see it a screenful at a time) and that will show absolutely everything your kernel loaded.

And, of course, /proc/cpuinfo should give you detailed info on your computer, but nothing much about hardware itself.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
32 bit compatibility with 64 machine nozz Linux - Hardware 2 10-01-2005 10:33 AM
Identifying the type of Alpha machine wenberg Linux - Hardware 1 01-19-2005 06:31 AM
harware acceleration for linux? mimithebrain Linux - General 4 09-24-2004 02:07 PM
how to obtain a host's harware address through C programs in linux sagishikha Linux - Software 0 03-04-2004 04:10 AM
Harware auditing for Linux? vrillusions Linux - Hardware 0 04-06-2003 01:25 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration