How can we find out if the Linux OS installed is 32-bit or 64-bit?

Barry Schiffman schiffo2000 at yahoo.com
Thu Nov 23 21:53:35 UTC 2006


--- Stuart Sears <stuart at sjsears.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> unix syzadmin wrote:
> > Hi,
> > 
> > We have a lot of Redhat Linux servers on various
> hardware.
> > How can we find out if the Linux OS installed is
> 32-bit or 64-bit?
> 
> uname -a
> rpm -q kernel --qf '%{NAME}-%{VERSION}.%{ARCH}\n'
> 
> will at least give you the arch of your
> installed/running kernels
> that's usually a reasonable clue
> 
> regards
> 
> Stuart
> - --

Also,

'cat /proc/cpuinfo' gives you the processor model.
'cat /proc/version' tells you the kernel you're
running.




 
____________________________________________________________________________________
Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com




More information about the redhat-list mailing list