Finding system type
Dear Everyone,
May i know how to know my system type that 32 bit or 64 bit when i do uname -a it gives me this one Linux ip-10-84-238-191 2.6.18-164.0.0.0.1.el5xen #1 SMP Thu Sep 3 00:34:43 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux so may i know which is this machine type? |
x86_64 in uname -a indicates a 64-bit kernel. i386 or i686 indicates a 32-bit kernel.
Or you can find it using:- Code:
grep flags /proc/cpuinfo |
Quote:
Type in the terminal: Code:
cat /proc/cpuinfo | grep model |
To clarify, uname shows you whether the OS (kernel) is 32 or 64 bit.
The other cmds show the HW capability. You can run a 32bit kernel on 64 bit HW, but the reverse is not true. In fact some 64bit distros eg RHEL/Centos provide a 'multi-lib' 64 bit OS, which can run both 32 & 64 bit apps on the 64 bit kernel (at the same time). |
All times are GMT -5. The time now is 03:55 PM. |