The following command shows the current active kernel!
uname -rOutput example:
# uname -r 2.6.32-696.3.1.el6.x86_64
There may be an installed kernel on the device that is NOT active (reboot required). You should run the following command to check installed kernels, and then compare the installed kernel to the active kernel method shown above.
rpm -q kernelExample output:
# rpm -q kernel kernel-2.6.32-696.1.1.el6.x86_64 kernel-2.6.32-696.3.1.el6.x86_64 kernel-2.6.32-696.3.2.el6.x86_64
yum list update kernel -q --disableexcludes=all 2>&1Example output:
# yum list update kernel -q --disableexcludes=all 2>&1 Installed Packages kernel.x86_64 2.6.32-696.1.1.el6 @rhel-x86_64-server-6 kernel.x86_64 2.6.32-696.3.1.el6 @rhel-x86_64-server-6 kernel.x86_64 2.6.32-696.3.2.el6 @rhel-x86_64-server-6