The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Most suitable operating system sunilryl Linux 2 01-16-2008 01:27 PM
operating system - ZDNet iBot UNIX and Linux RSS News 0 08-06-2007 06:00 AM
Operating system details rahulrathod UNIX for Dummies Questions & Answers 4 12-13-2006 09:21 AM
Operating System alecks1975 UNIX for Dummies Questions & Answers 1 11-24-2005 07:43 AM
cannot load any operating system Derrek Filesystems, Disks and Memory 3 08-12-2004 04:22 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 07-11-2006
Registered User
 

Join Date: Jul 2006
Posts: 2
Thumbs up Operating system Bit verison

How to check the Linux operating System bit version i.e if the operating system is 32-bit verison or 64-bit verison?

There is a file which gives this information, i think it is in /usr/bin or /usr/sbin. I am not sure about this? This Might be a silly question, but it is important.
Reply With Quote
Forum Sponsor
  #2  
Old 07-11-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
getconf -a

You'll see many values, search among them. If your system is 32-bit you'll find -m32 switch, if 64 then -m64
Reply With Quote
  #3  
Old 07-28-2006
Registered User
 

Join Date: Jul 2006
Posts: 2
Thumbs down

Sorry! didnt worked. Below is the output:

[root@rr]# getconf -a
getconf: Unrecognized variable `-a'
[root@rr]# getconf
Usage: getconf [-v specification] variable_name [pathname]
Reply With Quote
  #4  
Old 07-28-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
Try getconf -v or look at getconf(1p) (man getconf)
Read documentation!
Reply With Quote
  #5  
Old 07-29-2006
Ebbi's Avatar
Registered User
 

Join Date: Mar 2005
Location: Germany
Posts: 139
A simple uname -a should provide that information.
Reply With Quote
  #6  
Old 07-31-2006
Registered User
 

Join Date: Jul 2006
Posts: 13
/usr/sbin/prtconf -c gets the bitism on AIX, not sure if works for Linux
Reply With Quote
  #7  
Old 07-31-2006
Registered User
 

Join Date: Apr 2006
Posts: 16
getconf KERNEL_BITS will help you to know the config.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Tags
linux

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0