how to identify 32 vs 64 bit CPU?

Dennis Gilmore dennis at ausil.us
Thu Aug 9 12:22:46 UTC 2007


Once upon a time Thursday 09 August 2007, Robert P. J. Day wrote:
>   i'm sure there's a trivial way to do this, but what's a simple way
> to tell if a system has a 32 or a 64 bit CPU?  something that i could
> run from within a script.  thanks.
>
> rday

cat /proc/cpuinfo |grep lm 
 
the lm flag indicates supporting 64 bit

Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20070809/da52c4ff/attachment-0002.bin 


More information about the users mailing list