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

Stuart Sears stuart at sjsears.com
Thu Nov 23 16:14:18 UTC 2006


-----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
- --
Stuart Sears RHCA RHCSS RHCX PEBKAC STFU
"Quit worrying about your health. It'll go away."
- - Robert Orben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFZcjaamPtx1brPQ4RAhbnAJ0dP/vpKFvB7AfNt8AQm1687qigxgCdFPNM
xwiVS0ZUZUZATqgeRnpT6Xg=
=p/ZA
-----END PGP SIGNATURE-----




More information about the redhat-list mailing list