Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-10-2013, 12:41 AM   #1
Registered: Aug 2012
Posts: 94

Rep: Reputation: Disabled
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- #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?
Old 01-10-2013, 01:00 AM   #2
Senior Member
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
x86_64 in uname -a indicates a 64-bit kernel. i386 or i686 indicates a 32-bit kernel.

Or you can find it using:-
grep flags /proc/cpuinfo
Old 01-10-2013, 01:05 AM   #3
Senior Member
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Originally Posted by gajananh999 View Post
....x86_64 x86_64 x86_64 GNU/Linux...
As you can see x86_64 which is 64 bits, another way to find out is looking at the processor model and then looking at the manufacturer website for details will tell you that as well.
Type in the terminal:
cat /proc/cpuinfo | grep model
Old 01-10-2013, 01:33 AM   #4
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
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).


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
changing file system type to another filesystem type,does it effect on data? janakiramulu Ubuntu 1 02-04-2011 02:58 AM
finding the type of file system kakil Linux - Software 1 01-22-2008 11:58 AM
Moving hard drive from one system type to another type SlowCoder Linux - Newbie 7 11-26-2007 11:38 AM
Finding hard drive type? stefaandk Linux - Newbie 3 05-09-2006 08:19 PM
Is there a command for finding out the filesystem type? nodger Linux - Software 2 03-04-2005 04:04 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration