- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- how to find if my OS is 32 or 64 bit
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP