Re: how to identify 32 vs 64 bit CPU?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 9 Aug 2007, Mogens Kjaer wrote:

> Robert P. J. Day wrote:
> > On Thu, 9 Aug 2007, Mogens Kjaer wrote:
> >
> >> 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.
> >> If the script runs on a 64 bit CPU, equipped with a 32 bit OS,
> >> should it return 32 or 64?
> >
> > 64.  i'm interested in the actual CPU property.
>
> The look for lm in /proc/cpuinfo flags posted elsewhere works
> on the machine I've tested. It is set both when booting a 32 or
> 64 bit F7.

ah, excellent.  and i even tracked down what looks like an
explanation:

http://www.freelists.org/archives/oracle-l/02-2005/msg00839.html

thanks.

rday


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux