32 bits Vs 64 bits

Silver Kuusk Silver.Kuusk at microlink.ee
Fri May 6 08:38:11 UTC 2005


On app side, you can use command file. Example:

[root at elisdb2]# file /bin/ls
/bin/ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped



> -----Original Message-----
> From: redhat-list-bounces at redhat.com [mailto:redhat-list-bounces at redhat.com]
> On Behalf Of Tobias Speckbacher
> Sent: Thursday, May 05, 2005 9:56 PM
> To: General Red Hat Linux discussion list
> Subject: Re: 32 bits Vs 64 bits
> 
> uname -a should reveal the architecture the kernel was built for.
> 
> another way to check would be getconf WORD_BIT which returns the size of
> long (32 or 64).
> 
> On the app side, i am not sure how to check if you are dealing with a 32
> or 64 bit app, of course the rpm itself should have a target
> architecture referenced in its file name.
> 
> -Tobias
> 
> On Thu, 2005-05-05 at 10:11 +0200, Cecilio Marín wrote:
> > Hi,
> >
> > question: I have RHEL3 whith an AMD/64  processor. At any time, how to
> > know it operating mode? Any linux command to see it?
> >
> > Thanks in advance.
> >
> >
> >
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list