- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Command to know if 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
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
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
01-19-2007 03:28 AM
01-19-2007 03:28 AM
Command to know if OS is 32 or 64 bit
Could you please let me know the command on HP UX 11.23 to know if OS is 32 or 64 bit.
Many Thanks
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2007 03:30 AM
01-19-2007 03:30 AM
Re: Command to know if OS is 32 or 64 bit
# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2007 03:32 AM
01-19-2007 03:32 AM
Re: Command to know if OS is 32 or 64 bit
getconfHW_32_64_CAPABLE will tell you if the hardware is capable of 64 bits.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2007 03:42 AM
01-19-2007 03:42 AM
Re: Command to know if OS is 32 or 64 bit
# getconf HW_CPU_SUPP_BITS
...will show what you *can* run, whereas
# getconf KERNEL_BITS
...shows what you *are* running.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2007 03:47 AM
01-19-2007 03:47 AM
Re: Command to know if OS is 32 or 64 bit
It solved my purpose.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2007 12:46 PM
01-19-2007 12:46 PM
Re: Command to know if OS is 32 or 64 bit
A 64-bit kernel can run both 64 bit and 32-bit applications.
The getconf KERNEL_BITS is still the "right" way to go of course, but I thought I'd point-out that bit of trivia.
Another bit of trivia is that *any* HP-UX 11.X kernel on a PA-8500 or later CPU - including Itanium - is always a 64-bit kernel. The only time an 11.X kernel might be 32-bit is when the CPU is PA-8200 or earlier.