From: Johnson, Craig E (craig.johnson@siemens.com)
Date: Mon Mar 14 2005 - 18:04:49 EST
The solution is to know how to read the output of the "file" command. :)
If it says PA-RISC 1.1 it is 32-bit. If it says PA-RISC 2.0 or ELF-64 then
it is 64-bit.
Samba (at least the version I have running) is 32-bit. Thanks to everyone
who replied!
Craig
_____
From: Jeff Lightner [mailto:jlightner@water.com]
Sent: Monday, March 14, 2005 2:35 PM
To: Johnson, Craig E
Subject: RE: [HPADM] 64 or 32-bit app?>
Use the file command:
file <binary>
Anything that is below PA-RISC 2.0 is 32 bit. PA-RISC 2 would be 64 bit and
may say "ELF-64 executable" also.
Example:
file /bin/ksh
/bin/ksh: PA-RISC1.1 shared executable dynamically linked
The PA-RISC1.1 tells you it is 32 bit.
file /oracle/prod/prodora/9.2.0/bin/oracle
/oracle/prod/prodora/9.2.0/bin/oracle: ELF-64 executable object file -
PA-RISC 2.0 (LP64)
The PA-RISC 2.0 and the ELF-64 both tell you it is 64 bit.
The PA-RISC is of course HP's Precision Architecture Reduced Instruction Set
chips and the numbers are the versions. 2.0 was the first 64 bit version.
_____
From: hpux-admin-owner@DutchWorks.nl [mailto:hpux-admin-owner@DutchWorks.nl]
On Behalf Of Johnson, Craig E
Sent: Monday, March 14, 2005 5:11 PM
To: hpux-admin@DutchWorks.nl
Subject: [HPADM] 64 or 32-bit app?>
How do I tell if an application is 32 or 64 bit? I know how to tell if
HP-UX is 32 or 64, but what about, say, CIFS/Samba? Thanks!
Craig
-- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:46 EDT