Ask Your Question
1

uname help

asked 2014-07-08 20:51:07 -0600

abadrinath gravatar image

Hello!

When I execute uname -a, I get Linux localhost 3.11.10-301.fc20.x86_64 #1 SMP Thu Dec 5 14:01:17 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux. Why are there 3 x86_64's?

James

PS: I'll update soon =D

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-07-09 00:03:52 -0600

trol1ed gravatar image

That is because of uname's documentation. If you execute uname -m and then uname -p and last uname -i, they will all give x86_64, which is why the three of them are present.

edit flag offensive delete link more
2

answered 2014-07-08 23:45:38 -0600

thomasjames gravatar image

The man page on uname says it prints the results of options in the the order they are documented. The three "x86_64"'s you are seeing correspond to the following three output options:

   -m, --machine
          print the machine hardware name

   -p, --processor
          print the processor type or "unknown"

   -i, --hardware-platform
          print the hardware platform or "unknown"

h

edit flag offensive delete link more

Comments

@thomasjames - Yours and @trol1ed's answers sounded almost the same, so I couldn't decide which one to choose. Finally, I decided to go with @trol1ed's answer. I voted up, though! :)

abadrinath gravatar imageabadrinath ( 2014-07-09 00:58:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-07-08 20:51:07 -0600

Seen: 443 times

Last updated: Jul 09 '14