User Tools

Site Tools


kernel

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
kernel [2017/05/16 06:42] – created luke7858kernel [2024/05/23 07:26] (current) – external edit 127.0.0.1
Line 1: Line 1:
 === Current Active Kernel === === Current Active Kernel ===
 +The following command shows the current active kernel!
 <sxh bash> <sxh bash>
 uname -r uname -r
 </sxh> </sxh>
 +Output example: 
 +<sxh bash> 
 +# uname -r 
 +2.6.32-696.3.1.el6.x86_64 
 +</sxh> 
 +\\
 === Latest Installed === === Latest Installed ===
 +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. 
 <sxh bash> <sxh bash>
-rpm -q kernel | tail -n 1+rpm -q kernel
 </sxh> </sxh>
 +Example output: 
 +<sxh bash> 
 +# 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 
 +</sxh> 
 +\\ 
 +\\ 
 +**__WARNING__**: Please note, the kernel may be excluded from yum updates in /etc/yum.conf. Another command useful for exploring the latest kernel and avoiding the excludes can be found below: 
 +\\
 === Latest Available === === Latest Available ===
 <sxh bash> <sxh bash>
-yum list updates kernel -q --disableexcludes=all 2>&1+yum list update kernel -q --disableexcludes=all 2>&1 
 +</sxh> 
 +Example output: 
 +<sxh bash> 
 +# yum list update kernel -q --disableexcludes=all 2>&
 +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
 </sxh> </sxh>
kernel.1494916972.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki