LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 08-16-2011, 11:04 AM   #1
banatehrani
LQ Newbie
 
Registered: Aug 2011
Posts: 1

Rep: Reputation: Disabled
Realizing 32 or 64 for the current Linux


How Can I figure out my installed Linux is 64 or 32? I am a bit worried if it is installed the incorrect one on my system.

Thank you in advance
 
Old 08-16-2011, 11:14 AM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197Reputation: 1197
Try:
uname -m
If the answer is x86_64 you have 64 bit Linux.
If it is something including one of 386, 486, 586, 686 etc. you have 32 bit Linux.

If you have 32 bit Linux, do you know your CPU would support 64 bit Linux? Or do you need to know that test? Try the command:
cat /proc/cpuinfo | grep " lm "

If the CPU would support 64 bit Linux, that should print a flags line for each core or virtual core. If the CPU is 32 bit, it should not print anything.

Last edited by johnsfine; 08-16-2011 at 11:18 AM.
 
1 members found this post helpful.
  


Reply



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
Observation of Feb -current vs March -current Hangaber Slackware 14 03-12-2010 08:26 AM
LXer: Realizing Government Transparency and Openness Through Standard Web Technologie LXer Syndicated Linux News 0 02-26-2009 10:20 AM
slackware current question on the current kernels davimint Slackware 3 06-03-2007 07:39 AM
DISCUSSION: Upgrade to Slackware -current without a -current CD truthfatal LinuxAnswers Discussion 0 09-19-2006 01:42 PM
current Slack-Current giving troubles? r_jensen11 Slackware 5 02-02-2004 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:41 PM.

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
Open Source Consulting | Domain Registration