Re: How to verify the running kernel's architecture?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Em Quarta 17 Janeiro 2007 12:48, Akemi Yagi escreveu:
> On Wed, 17 Jan 2007 12:34:20 -0300, Marcelo Magno T. Sales wrote:
> > People,
> >
> > How do I know if the kernel I'm running is the i586 or i686 version?
> > uname -m is not useful in this case, because it shows me the machine
> > architecture (which I know is i686), not the architecture for which the
> > running kernel was compiled. It always shows i686, even if the running
> > kernel is i586.
> >
> > Thanks,
> >
> > Marcelo
>
> How about:
>
> rpm -qf /boot/vmlinuz-`uname -r`
>
> provided you have used rpm to install kernel.

Yes, but unfortunately the architecture is not present in the name of the 
kernel packages :(
See:
[marcelo.sales@sf002698 ~]$ rpm -qf /boot/vmlinuz-`uname -r`
kernel-2.6.18-1.2849.fc6
[marcelo.sales@sf002698 ~]$ rpm -q kernel
kernel-2.6.18-1.2798.fc6
kernel-2.6.18-1.2849.fc6

I don't know if these are i586 or i686 kernels.

[]'s
Marcelo


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux