LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 01-09-2013, 11:41 PM   #1
gajananh999
Member
 
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-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?
 
Old 01-10-2013, 12:00 AM   #2
shivaa
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:-
Code:
grep flags /proc/cpuinfo
 
Old 01-10-2013, 12:05 AM   #3
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
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:
Code:
cat /proc/cpuinfo | grep model
Regards
 
Old 01-10-2013, 12:33 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,356

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


Reply


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 01:58 AM
finding the type of file system kakil Linux - Software 1 01-22-2008 10:58 AM
Moving hard drive from one system type to another type SlowCoder Linux - Newbie 7 11-26-2007 10:38 AM
Finding hard drive type? stefaandk Linux - Newbie 3 05-09-2006 07:19 PM
Is there a command for finding out the filesystem type? nodger Linux - Software 2 03-04-2005 03:04 PM


All times are GMT -5. The time now is 08:23 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration