[HPADM] SUMMARY: How to tell if a binary is 32 bit or 64 bit?

From: Quinn, Bryan (Bryan.Quinn@CooperTools.com)
Date: Wed Apr 30 2003 - 11:58:13 EDT


Ok, I answered my own question:

cd $ORACLE_HOME/bin
$ORACLE_HOME/bin > file oracle

If the output say 64-bit explicitly then it is 64 otherwise it is 32-bit.

Thanks,
-Bryan

ORIGINAL POST:
Hello Admins,

It seems to me, that there is a command that can be run on a binary to see
if it is 32-bit or 64-bit, I just can not remember the command....if it does
in fact exist. If anyone can get me straight on this, I would greatly
appreciate it.

Thanks,
Bryan Douglas Quinn
UNIX Support Specialist
Cooper Tools - Lexington, SC
803.808.6770
bryan.quinn@coopertools.com

--
             ---> 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)
--
             ---> 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:29 EDT