[ubuntu-uk] uname -a for 32 bit os on 64 bit cpu

Avi Greenbury lists at avi.co
Mon Nov 14 19:27:55 UTC 2011


John Levin wrote:

> 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?

uname reports information about the kernel, not the hardware. So for a
32-bit kernel it will report 32-bit information (with strings like i386
and i686), and on a 64-bit kernel it will contain 64-bit sorts of
strings (x86_64, amd64 etc.)

Precisely what it says depends upon what the person who built the
kernel told it to, though.

-- 
Avi



More information about the ubuntu-uk mailing list