How to verify the running kernel's architecture?

Tony Nelson tonynelson at georgeanelson.com
Wed Jan 17 20:10:17 UTC 2007


At 11:01 AM -0800 1/17/07, Rick Stevens wrote:
>On Wed, 2007-01-17 at 13:50 -0500, Tony Nelson wrote:
>> At 9:38 AM -0800 1/17/07, Rick Stevens wrote:
>>  ...
>> >Assuming you installed the kernel via RPM, then you can:
>> >
>> >	# grep M586=y /boot/config-(booted-kernel-version)
>> >
>> >If you get no output, then you've got a 686 kernel installed and
>> >running. ...
>>  ...
>>
>> How about:
>>
>>     []# grep 'M.86=y" /boot/config-`uname -r`
>>
>> Which will produce output either way?
>
>That's a good one as well.  In fact, it's better.  Why didn't I think
>of it?  Sheesh!  Must be getting old...

Oh, good.  I'm also getting old, yet I'm still not experienced with *nix,
so I asked.
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the users mailing list