- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to determine if a binary file is a 32 or 64 bi...
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
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
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
тАО09-24-2003 02:35 AM
тАО09-24-2003 02:35 AM
HP_UX 10.20 and HPUX 11.0
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:38 AM
тАО09-24-2003 02:38 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:38 AM
тАО09-24-2003 02:38 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
file
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:41 AM
тАО09-24-2003 02:41 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
You can also learn a lot with the what command
what name_of_binary_file
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:45 AM
тАО09-24-2003 02:45 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
but when i write to the OS prompt :
./executable_file /stand/vmunix
I've no result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:49 AM
тАО09-24-2003 02:49 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:49 AM
тАО09-24-2003 02:49 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
# man file
# file /path/to/executable
For example:
# file memwin_stats
memwin_stats: PA-RISC1.1 shared executable dynamically linked -not stripped
The above is looking at the executable called memwin_stats. The output tells me it is 32-bit. If it shows PA-RISC1.1 or PA-RISC2.0 then it is 32-bit.
A 64-bit will show 'ELF-64' as someone above posted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-24-2003 02:54 AM
тАО09-24-2003 02:54 AM
Re: How to determine if a binary file is a 32 or 64 bits ?
#file /logi/tina/Bin/tian_backup
It works more than well!
thanks a lot.