Simply type in these commands and the result in both the cases should match.....
rpm -qa kernel |sort |tail -n 1
uname -r
Note: If you got kernel update or run older kernel than newest installed then reboot:
reboot
rpm -qa kernel |sort |tail -n 1
uname -r
Note: If you got kernel update or run older kernel than newest installed then reboot:
reboot
Output of each commands version numbers above should match....for example in my case the out put is shown as below :
[duqu@localhost ~]$ rpm -qa kernel |sort |tail -n 1
kernel-3.6.10-4.fc18.x86_64
[duqu@localhost ~]$ uname -r
3.6.10-4.fc18.x86_64
SCREEN SHOT BELOW :