[ale] Procinfo

Geoffrey Myers lists at serioustechnology.com
Mon Feb 14 10:29:53 EST 2011


Jim Kinney wrote:
> If lm is present it's a 64 bit capable system. if not it's 32.

So then this should suffice?

grep flags /proc/cpuinfo

My output has 'lm' and 'flags' on the same line, so the above returns 
the same result as the solution you've identified.


> 
> unless a virtual machine is weird.
> 
> On Mon, Feb 14, 2011 at 10:01 AM, Geoffrey Myers
> <lists at serioustechnology.com> wrote:
>> Jim Kinney wrote:
>>> On Mon, Feb 14, 2011 at 9:23 AM, Geoffrey Myers
>>> <lists at serioustechnology.com> wrote:
>>>
>>>>> uname -a will work.
>>>> Is this not just showing you what your kernel is?  I can run a 32 bit
>>>> kernel on a 64 bit machine.
>>>>
>>>>
>>> yep. The solution was /proc/cpuinfo | grep flags | grep " lm ". D.
>>> Chesser  had the best solution.
>> Hmmm, I don't see it.  Maybe because I'm on a virtual?
>>
>>
>> --
>> Until later, Geoffrey
>>
>> "I predict future happiness for America if they can prevent
>> the government from wasting the labors of the people under
>> the pretense of taking care of them."
>> - Thomas Jefferson
>> _______________________________________________
>> Ale mailing list
>> Ale at ale.org
>> http://mail.ale.org/mailman/listinfo/ale
>> See JOBS, ANNOUNCE and SCHOOLS lists at
>> http://mail.ale.org/mailman/listinfo
>>
> 
> 
> 


-- 
Until later, Geoffrey

"I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them."
- Thomas Jefferson


More information about the Ale mailing list