How to verify the running kernel's architecture?

Rick Stevens rstevens at vitalstream.com
Wed Jan 17 19:01:59 UTC 2007


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...

----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer     rstevens at vitalstream.com -
- VitalStream, Inc.                       http://www.vitalstream.com -
-                                                                    -
-                Huked on foniks reely wurked for me!                -
----------------------------------------------------------------------




More information about the fedora-list mailing list