[lug] checking for 64 bit fedora

Justin M. justin at themetz.net
Tue Dec 22 10:43:24 MST 2009


getconf LONG_BIT

or

uname -m

Justin

On Tue, Dec 15, 2009 at 1:24 PM, Davide Del Vento <
davide.del.vento at gmail.com> wrote:

> I think that if you don't get an "_64" somewhere in uname -a, then it's
> 32bit.
> Bye,
> ;Dav
>
> On Tue, Dec 15, 2009 at 13:12,  <stimits at comcast.net> wrote:
> > Now I know I can try to look at package names and versions, or refer to
> an
> > original install CD to find out whether a flavor of linux is actually
> > running 64 bit or not. I have an opteron system though that works great
> with
> > 64 or 32 bit, and the issue simply calls it i686. Is there a way, perhaps
> in
> > /proc, to look at something like kernel symbols or some other direct way
> to
> > see if the kernel sees the system itself as 64 bit? E.G., the
> /proc/cpuinfo
> > only shows the specification of the cpu, not how the o/s is using it. Is
> > there some sort of 64 bit fingerprint for a running system which root can
> > see but does not rely on package naming?
> >
> > Dan Stimits, stimits AT comcast DOT net
> >
> > _______________________________________________
> > Web Page:  http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
> >
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: irc.hackingsociety.org port=6667 channel=#hackingsociety
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lug.boulder.co.us/pipermail/lug/attachments/20091222/67a3bdb0/attachment.html>


More information about the LUG mailing list