- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 32 bit 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
07-09-2007 08:24 AM
07-09-2007 08:24 AM
32 bit or 64 bit
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 08:29 AM
07-09-2007 08:29 AM
Re: 32 bit or 64 bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 08:31 AM
07-09-2007 08:31 AM
Re: 32 bit or 64 bit
# getconf KERNEL_BITS
...will tell you the "bitness" of your current kernel, e.g. "64"
# getconf HW_CPU_SUPP_BITS
...will tell you the "bitness" your hardware will support, e.g. "32/64"
# file filename
...will return:
"ELF-64 executable object file - PA-RISC 2.0 (LP64)" for a 64bit codefile, otherwise something like:
"PA-RISC1.1 shared executable" for a 32bit one.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 08:33 AM
07-09-2007 08:33 AM
Re: 32 bit or 64 bit
If you are running any HP-UX 11.X version, run:
# getconf KERNEL_BITS
This will return 32 or 64, which is the "bitness" or your OS.
For your application, it depends. If there is a single executable you can run the 'file' command on it. If it returns something like "ELF-64" then it is 64-bit. Anything else generally indicates 32-bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-09-2007 08:35 AM
07-09-2007 08:35 AM
Re: 32 bit or 64 bit
getconf KERNEL_BITS
64 --> 64 bits
32 --> 32 bits
For the application... well, you should know if it is your application. But I'd run chatr on the binary -- first line should tell you if it is 32 or 64 bits. Example:
# chatr /tmp/pig2b
/tmp/pig2b:
64-bit ELF executable