How to verify the running kernel's architecture?

Akemi Yagi amyagi at gmail.com
Wed Jan 17 15:48:05 UTC 2007


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.





More information about the fedora-list mailing list