LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-07-2012, 10:26 PM   #1
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
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
uname -m
uname -i
I have an X86 machine and so cannot test for other arches.

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.

Last edited by towheedm; 01-08-2012 at 10:06 AM.
 
Old 01-08-2012, 08:22 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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

Last edited by weibullguy; 01-08-2012 at 09:02 PM.
 
Old 01-08-2012, 08:50 AM   #3
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,168
Blog Entries: 1

Rep: Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038Reputation: 2038
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
x86_64
GenuineIntel
Slackware current
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
i686
GenuineIntel
Slackware 11.0
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
i686
GenuineIntel
Ubuntu 10.01 LTS (Intel(R) Core(TM) i5-2300)
Code:
Linux XXXX 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010 x86_64 GNU/Linux
x86_64
unknown
Centos 5.5 (Intel(R) Xeon(R) CPU E5335 @ 2.00GHz)
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
x86_64
x86_64
RHEL 5.2 (Intel(R) Pentium(R) 4 CPU 2.40GHz)
Code:
Linux XXXX 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux
i686
i386
Bonus:

Solaris 8 sparc
Code:
SunOS XXXX 5.8 Generic_108528-22 sun4u sparc SUNW,UltraAX-i2
sun4u
SUNW,UltraAX-i2
Regards

Last edited by bathory; 01-08-2012 at 09:04 AM. Reason: Added RHEL
 
Old 01-08-2012, 09:45 AM   #4
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Fedora Rawhide x86_64 (AMD 5400+)
Code:
~$ uname -a
Linux Pyrope 3.2.0-2.fc17.x86_64 #1 SMP Thu Jan 5 02:23:28 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
~$ uname -m
x86_64
~$ uname -i
x86_64
 
Old 01-08-2012, 10:13 AM   #5
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Original Poster
Rep: Reputation: 125Reputation: 125
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.
 
Old 01-08-2012, 06:35 PM   #6
mecelec415
Member
 
Registered: Jan 2008
Location: Noble Park ,Victoria, Australia
Distribution: Mageia
Posts: 183
Blog Entries: 2

Rep: Reputation: 23
Mageia
Code:
$ uname -a
Linux localhost 2.6.38.8-desktop-9.mga #1 SMP Tue Dec 20 09:45:44 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

$ uname -m
x86_64

$ uname -i
x86_64
 
Old 01-12-2012, 05:02 PM   #7
Wayne Sallee
Member
 
Registered: Jun 2011
Location: Florida
Distribution: The one that I built. (lfs)
Posts: 269

Rep: Reputation: 17
[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

Last edited by Wayne Sallee; 01-12-2012 at 05:06 PM.
 
Old 01-12-2012, 09:32 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,360
Blog Entries: 28

Rep: Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148Reputation: 6148
Dell Dimension 4700 desktop with Debian Squeeze

Code:
uname -a
Linux tuna 2.6.32-5-686 #1 SMP Mon Dec 26 16:19:07 UTC 2011 i686 GNU/Linux
uname -m
i686
uname -i
unknown
Dell 1545n laptop with Slackware-Current:

Code:
 uname -a
Linux hammerhead 2.6.38.7-smp #2 SMP Sat May 21 23:13:29 CDT 2011 i686 Genuine Intel(R) CPU             585  @ 2.16GHz GenuineIntel GNU/Linux
uname -m
i686
uname -i
GenuineIntel
 
  


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
Which processor architectures do I have? punchy71 Linux - Newbie 8 12-12-2011 06:42 PM
processor architectures? slinky2004 Linux - Hardware 5 09-03-2009 10:00 AM
architectures... ? Pytheas Linux - Newbie 5 09-13-2008 01:01 AM
Need a list of architectures kamransoomro84 General 6 10-14-2004 05:21 PM
architectures rcerrillo Linux - Hardware 2 03-07-2004 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:38 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
Open Source Consulting | Domain Registration