LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 05-06-2011, 07:02 AM   #1
govindannv
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, 09:22 AM   #2
resetreset
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, 09:40 AM   #3
cascade9
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.

b-
Quote:
uname [OPTION]...

-m, --machine
print the machine hardware name
-i, --hardware-platform
print the hardware platform or "unknown"
http://linux.die.net/man/1/uname
 
Old 05-06-2011, 04:00 PM   #4
jake3988
Member
 
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.
 
  


Reply



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 09:33 AM
Identifying the type of Alpha machine wenberg Linux - Hardware 1 01-19-2005 05:31 AM
harware acceleration for linux? mimithebrain Linux - General 4 09-24-2004 01:07 PM
how to obtain a host's harware address through C programs in linux sagishikha Linux - Software 0 03-04-2004 03:10 AM
Harware auditing for Linux? vrillusions Linux - Hardware 0 04-06-2003 12:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:14 AM.

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