What does uname return on different architectures?
I am looking to find out what "uname" returns on different architectures running Mandriva.
Specifically, I'm interested in the X86 and X86_64 arches with any kernel versions but any other arch would be appreciated. So could you post the output from: Code:
uname -a I am writing the 3rd Edition of my "Definitive Guide to Theming GRUB2" which now includes Mandriva 2011 and this info will help me greatly. Thank you all in advance. |
I don't mind helping. Here is the information for my machines. Hope it helps. All machines Slackware-13.37.
Machine: Aragorn uname -a: Linux aragorn 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Athlon(tm) II X3 445 Processor AuthenticAMD GNU/Linux uname -m: x86_64 uname -i: AuthenticAMD Machine: Frodo uname -a: Linux frodo 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 5600+ AuthenticAMD GNU/Linux uname -m: x86_64 uname -i: AuthenticAMD Machine: Gandolf uname -a: Linux gandolf 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux uname -m: x86_64 uname -i: AuthenticAMD Machine: Gimli uname -a: Linux gimli 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Sempron(tm) Processor 3000+ AuthenticAMD GNU/Linux uname -m: x86_64 uname -i: AuthenticAMD Machine: Legolas uname -a: Linux legolas 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Athlon(tm) II X3 440 Processor AuthenticAMD GNU/Linux uname -m: x86_64 uname -i: AuthenticAMD Machine: Treebeard uname -a: Linux treebeard 2.6.37.6 #3 SMP Sat Apr 9 22:49:32 CDT 2011 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ AuthenticAMD GNU/Linux uname -m: x86_64 uname -i: AuthenticAMD |
Hi,
Following is the data of various servers in our network. I've replaced hostname with XXXX because in some of them there was cited the FQDN. Also I've added the cpu type for those distros that it wasn't obvious. Slackware64 current Code:
Linux XXXX 3.2.0 #1 SMP Fri Jan 6 12:35:59 EET 2012 x86_64 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz GenuineIntel GNU/Linux Code:
Linux XXXX 3.2.0 #1 SMP Thu Jan 5 11:48:29 EET 2012 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz GenuineIntel GNU/Linux Code:
Linux XXXX 2.6.20.21 #1 Mon Apr 7 13:19:17 EEST 2008 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz GenuineIntel GNU/Linux Code:
Linux XXXX 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010 x86_64 GNU/Linux Code:
Linux XXXX 2.6.18-164.6.1.el5.centos.plus #1 SMP Wed Nov 4 09:31:39 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Code:
Linux XXXX 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux Solaris 8 sparc Code:
SunOS XXXX 5.8 Generic_108528-22 sun4u sparc SUNW,UltraAX-i2 |
Fedora Rawhide x86_64 (AMD 5400+)
Code:
~$ uname -a |
Thanks for the replies.
I posted on the Mandriva forums since I'm interested in what Mandriva returns, expecially for the hardware platform (uname -i). While Debian and Debian-based distros returns 'unknown', on my machine Mandriva returns 'i386'. I'm interested in what it returns for X86_64 machines. I would like to use the return value in some commands using command substitution, but it will only work properly if the return value is 'i386' for X86 and 'X86_64' for X86 64bits machines. If it does not, then I cannot use the command substitution method and it would be left to the user to supply the correct value. Again, thanks. |
Mageia
Code:
$ uname -a |
[user@localhost ~]$ uname -a
Linux localhost 2.6.33.7-desktop-2mnb #1 SMP Mon Sep 20 18:19:20 UTC 2010 x86_64 x86_64 x86_64 GNU/Linux [user@localhost ~]$ [user@localhost ~]$ uname -m x86_64 [user@localhost ~]$ [user@localhost ~]$ uname -i x86_64 [user@localhost ~]$ That's Mandriva 64 bit running inside virtualbox. Wayne Sallee Wayne@WayneSallee.com |
Dell Dimension 4700 desktop with Debian Squeeze
Code:
uname -a Code:
uname -a |
All times are GMT -5. The time now is 02:52 PM. |