Linux - How to determine the version of the kernel ?

> Operating System - Kernel (Windows, Unix, Linux) > Linux / Unix

1 - About

This article regroups all the way that you have to determine the version of the kernel from a Linux software.

Information about the kernel can be found with uname command.

Advertising

3 - Version and errata

To determine the kernel version, enter: $ uname -r

[[email protected] etc]# uname -r
2.6.18-128.el5

In this example, the output shows the kernel version (2.6.18) and errata level (-128.el5) on the system. Errata levels (or erratum kernels) are kernel package updates to fix bugs.

4 - Processor type (X86, X86_64, ...)

[[email protected] ~]$ uname -p
x86_64

5 - Version and processor

# uname –rm
2.6.9-5.ELsmp i686

The example shows that this is a 2.6.9-5 kernel for an SMP (multiprocessor) server using Intel i686 CPUs.

os/linux/kernel_version.txt · Last modified: 2018/12/19 21:53 by 162.158.186.124