LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   difference between uname -m, -p and -i (https://www.linuxquestions.org/questions/linux-newbie-8/difference-between-uname-m-p-and-i-866845/)

maobin 03-06-2011 09:15 PM

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?

corp769 03-06-2011 09:22 PM

The man page pretty much sums it up; i386 is your platform, running on i686.

maobin 03-06-2011 09:41 PM

Quote:

Originally Posted by corp769 (Post 4281000)
The man page pretty much sums it up; i386 is your platform, running on i686.

platform as in the OS platform?

corp769 03-06-2011 09:53 PM

Hardware platform... man page even says it :)

maobin 03-06-2011 09:55 PM

Quote:

Originally Posted by corp769 (Post 4281017)
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?

corp769 03-07-2011 10:32 AM

https://secure.wikimedia.org/wikiped...uting_platform

I think you know how to use a search engine for everything else, no?

maobin 03-07-2011 08:48 PM

Quote:

Originally Posted by corp769 (Post 4281547)
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.

corp769 03-07-2011 08:52 PM

Quote:

Originally Posted by maobin (Post 4282133)
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

maobin 03-08-2011 12:20 AM

Quote:

Originally Posted by corp769 (Post 4282139)
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 :)

corp769 03-08-2011 12:25 AM

Not a problem :)


All times are GMT -5. The time now is 01:06 PM.