How to verify the running kernel's architecture?
Rick Stevens
rstevens at vitalstream.com
Wed Jan 17 21:09:49 UTC 2007
On Wed, 2007-01-17 at 15:10 -0500, Tony Nelson wrote:
> 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.
Heheheh! Just had a senior moment regarding the "." in the grep's RE.
And as my employees say about me, "He's so old he farts dust!"
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- Treat each day as if it's your last...a lot of crying and whining -
- usually gets you what you want! -- Sam Sledge -
----------------------------------------------------------------------
More information about the fedora-list
mailing list