- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: how to find if my OS is 32 or 64 bit
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:20 AM
тАО07-12-2005 06:20 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 08:37 AM
тАО07-12-2005 08:37 AM
Re: how to find if my OS is 32 or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 09:03 AM
тАО07-12-2005 09:03 AM
Re: how to find if my OS is 32 or 64 bit
ls -l /var/log/lastlog
If that file is over a terabyte in size, you have a 64 bit kernel ;-)
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=156809
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 04:08 PM
тАО07-12-2005 04:08 PM
Solutionuname -a is your friend.
Also you can do rpm query of kernel to find out whether it is a 32 bit kernel or 64 bit.
just do 'rpm -qi kernel' which will give installed kernel information including processor architecture.
if the above does not work try 'rpm -qi kernel-smp'
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:22 PM
тАО07-12-2005 06:22 PM
Re: how to find if my OS is 32 or 64 bit
Dutta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:26 PM
тАО07-12-2005 06:26 PM
Re: how to find if my OS is 32 or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 10:43 PM
тАО07-12-2005 10:43 PM
Re: how to find if my OS is 32 or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 10:49 PM
тАО07-12-2005 10:49 PM
Re: how to find if my OS is 32 or 64 bit
Do you just want something that says "32" or "64" as it's output? That would be incomplete, and not helpful at all, due to the fact that on Linux, the architecture is what counts, now how many bits that architecture is.
For example, something compiled for 'i386' won't work on a 'ppc' arch, even though they are both 32bit.
Someting compiled for 'ppc64' won't work on 'ia64', even though they are both 64 bit.
It's not as cut-and-dried as a same numbered HP-UX versions on 32 or 64 bit platforms, as their architecture for HP-UX boxes are either Itanium 64bit, or PA-RISC 32bit (is there a 64bit PA-RISC? I'm not sure).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 11:22 PM
тАО07-12-2005 11:22 PM
Re: how to find if my OS is 32 or 64 bit
You can tell whether you are running a 32 bit, 64 bit or Itanium kernel with the command "uname -a". The output will indicate the kernel revision and the CPU type; i686 (Intel x86 32-bit), x86_64 (AMD64/EM64T) or ia64 (Itanium).
thanks again
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 11:39 PM
тАО07-12-2005 11:39 PM
Re: how to find if my OS is 32 or 64 bit
Matt,
Gopi did point out that uname -a will give you that. He even gave you another command that will give even more details for the kernel rpm (rpm -qi). Read his post again.
-Ross
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 11:46 PM
тАО07-12-2005 11:46 PM
Re: how to find if my OS is 32 or 64 bit
'uname -m' (machine type) shows only the architecture portition of a 'uname -a' (all) output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 11:58 PM
тАО07-12-2005 11:58 PM
Re: how to find if my OS is 32 or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2005 12:14 PM
тАО07-14-2005 12:14 PM
Re: how to find if my OS is 32 or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2010 12:10 PM
тАО11-30-2010 12:10 PM