How to determine the Linux kernel version?

Latest response

Via the Red Had Customer Portal, how can I determine the Linux kernel version of a given server system instance?

Responses

Hi Randall,

Not sure if I understand your question ... simply type uname -r in a terminal. On the Customer Portal ?
Open https://access.redhat.com/management/systems - select a System - then click on System Facts.
Scroll down and find the kernel version in the section UNAME - hope that's what you wanted to know. :)

Regards,
Christian

Hello Randall, the kernel version for particular RHEL version is always stated in the "Architecture" chapter withon RHEL Release Notes. See e.g.Release Notes for RHEL 8.2

You can access RHEL Release Notes for various RHEL versions from the RHEL product documentation page

Not sure how it is going to differ either in Redhat Customer Portal or if you check-in the server itself. uname -a or uname -r or cat /etc/redhat-release is working for so long. See how to check linux version

Hello Randall Manion,

What others say above for the use of uname will tell you what kernel you are running currently.

If you want to see what kernel you will be in when you reboot, you can run this. NOTE: run as root:

grubby --default-kernel

Sometimes it is useful to know if you will be going into a different kernel. If a system recently took patches and hasn't been rebooted, your next kernel might be different, and this command will let you know.

If you want to see these together, you could do something like this:

 echo -e "Current kernel: `uname -r`\nAfter reboot:   `grubby --default-kernel | sed 's/.*vmlinuz\-//g'`"
Current kernel: 3.10.0-1160.11.1.el7.x86_64
After reboot:   3.10.0-1160.11.1.el7.x86_64

Regards,
RJ