[ubuntu-uk] uname -a for 32 bit os on 64 bit cpu
Juan J. Martínez
reidrac at usebox.net
Mon Nov 14 18:14:40 UTC 2011
On Mon, 2011-11-14 at 17:53 +0000, John Levin wrote:
> Hi all,
>
> I'm writing a bit of documentation, and am having trouble with uname.
> What does uname -a produce for a 32 bit operating system running on a 64
> bit cpu? If anyone is running such a system, if they could cut & paste
> the output, I'd be very much obliged.
>
> PS: Thanks to Alan Lord & Simon Greenwood for their replies to my
> question (from ages ago) about installing non-deb apps. I was having a
> terminology problem!
$ uname -a
Linux vortex.usebox.net 3.1.0-7.fc16.i686 #1 SMP Tue Nov 1 21:00:16 UTC
2011 i686 i686 i386 GNU/Linux
I have less than 4GB of RAM, so I didn't bother running a 64 bits
system.
If you want to know if a CPU is 64bits no matter which kernel is
running, look for "lm" in the CPU flags in /proc/cpuinfo, or try with
lscpu:
$ lscpu
Architecture: i686
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
CPU(s): 4
On-line CPU(s) list: 0-3
Thread(s) per core: 2
Core(s) per socket: 2
Socket(s): 1
Vendor ID: GenuineIntel
CPU family: 6
Model: 37
Stepping: 5
CPU MHz: 2394.000
BogoMIPS: 4799.84
Virtualization: VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache: 256K
L3 cache: 3072K
Regards,
Juan
--
jjm's home: http://www.usebox.net/jjm/
blackshell: http://blackshell.usebox.net/
en_GB at blog: http://engbblog.wordpress.com/
More information about the ubuntu-uk
mailing list