LinuxQuestions.org
Review your favorite Linux distribution.
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 03-06-2011, 09:15 PM   #1
maobin
Member
 
Registered: Feb 2011
Posts: 42

Rep: Reputation: 0
difference between uname -m, -p and -i


hi,
any one knows the difference between the uname -m, -p and -i?

Code:
uname -m
i686
uname -p
i686
uname -i
i386

-m, --machine print the machine hardware name
-p, --processor print the processor type or "unknown"
-i, --hardware-platform print the hardware platform or "unknown"

i gt this from man. does it mean that the machine is a i686 machine that is running on a i386 OS?
 
Old 03-06-2011, 09:22 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
The man page pretty much sums it up; i386 is your platform, running on i686.
 
Old 03-06-2011, 09:41 PM   #3
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by corp769 View Post
The man page pretty much sums it up; i386 is your platform, running on i686.
platform as in the OS platform?
 
Old 03-06-2011, 09:53 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hardware platform... man page even says it
 
Old 03-06-2011, 09:55 PM   #5
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by corp769 View Post
Hardware platform... man page even says it
I'm sorry for asking such a noob qn.. but whats a hardware platform and how is it different from processor type?
 
Old 03-07-2011, 10:32 AM   #6
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
https://secure.wikimedia.org/wikiped...uting_platform

I think you know how to use a search engine for everything else, no?
 
1 members found this post helpful.
Old 03-07-2011, 08:48 PM   #7
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by corp769 View Post
https://secure.wikimedia.org/wikiped...uting_platform

I think you know how to use a search engine for everything else, no?
Haha, tot you might have a short ans. Thanks anyway.. i will take a look at that.
 
Old 03-07-2011, 08:52 PM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Quote:
Originally Posted by maobin View Post
Haha, tot you might have a short ans.
What does that mean? Just wondering....

And no problem. To me, I can't really explain details because it all is more common sense to me. I tried to my furthest abilities....

Cheers,

Josh
 
Old 03-08-2011, 12:20 AM   #9
maobin
Member
 
Registered: Feb 2011
Posts: 42

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by corp769 View Post
What does that mean? Just wondering....

And no problem. To me, I can't really explain details because it all is more common sense to me. I tried to my furthest abilities....

Cheers,

Josh
I meant I thought you might have a simple explanation.. I appreciate your help
 
Old 03-08-2011, 12:25 AM   #10
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Not a problem
 
  


Reply


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
Understanding uname -a: difference between #1 SMP and #3 SMP sonatabar Red Hat 2 08-26-2008 12:34 PM
Uname ? phr3nzal Linux - Software 4 10-07-2005 09:52 AM
uname -a Jeebizz Slackware 18 05-03-2005 05:53 PM
uname -a BRAHmS Linux - Newbie 1 05-11-2004 10:45 PM


All times are GMT -5. The time now is 12:50 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration