GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: 32bit vs 64 bit
Operating System - HP-UX
1855196
Members
3582
Online
104109
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-14-2007 05:53 PM
08-14-2007 05:53 PM
hi there,
is there a command to check if a file is compile as 32 bit or 64 bit ?
thanks
Lai
is there a command to check if a file is compile as 32 bit or 64 bit ?
thanks
Lai
If it doesn't work, We'll make it work. If it works, We'll make it work better.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 06:05 PM
08-14-2007 06:05 PM
Solution
Hi Lai,
You see the different ?
using file command
# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
-> this is 64 bit
#file /usr/bin/sar
/usr/bin/sar: PA-RISC1.1 shared executable dynamically linked -not stripped dynamically linked
-> this is 32 bit.
WK.
ps remember to assign points
You see the different ?
using file command
# file /stand/vmunix
/stand/vmunix: ELF-64 executable object file - PA-RISC 2.0 (LP64)
-> this is 64 bit
#file /usr/bin/sar
/usr/bin/sar: PA-RISC1.1 shared executable dynamically linked -not stripped dynamically linked
-> this is 32 bit.
WK.
ps remember to assign points
Problem never ends, you must know how to fix it
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 06:11 PM
08-14-2007 06:11 PM
Re: 32bit vs 64 bit
thanks..
If it doesn't work, We'll make it work. If it works, We'll make it work better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-14-2007 10:45 PM
08-14-2007 10:45 PM
Re: 32bit vs 64 bit
If you are on IPF, you see:
$ file /usr/lib/hpux32/libc.so.1
/usr/lib/hpux32/libc.so.1: ELF-32 shared object file - IA64
$ file /usr/lib/hpux64/libc.so.1
/usr/lib/hpux64/libc.so.1: ELF-64 shared object file - IA64
$ file /usr/lib/hpux32/libc.so.1
/usr/lib/hpux32/libc.so.1: ELF-32 shared object file - IA64
$ file /usr/lib/hpux64/libc.so.1
/usr/lib/hpux64/libc.so.1: ELF-64 shared object file - IA64
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP