LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Which compiled kernel has been used to boot system? (https://www.linuxquestions.org/questions/linux-general-1/which-compiled-kernel-has-been-used-to-boot-system-440881/)

aliamiri 05-02-2006 09:33 AM

Which compiled kernel has been used to boot system?
 
Hi dudes,

Sorry if this is a stupid old question, but I'm a newbie here and found nothing with search feature!

Consider there are some different compiled kernel modules in a Linux/FreeBSD system. By which command can I find that what kernel is used to boot the system?

Thanx for your kind answers.

Regards,
Ali

b0uncer 05-02-2006 09:42 AM

One way, though not complete, is to do

Code:

uname -a
which tells you some info, including the running kernel version. that means, if you have multiple compiled kernels and their version numbers differ, that tells you which one got booted. but if you have two with the same version (but with different filename), then I'm a bit unsure..

yeah, there probably is a better way, but this is a start :)

oneandoneis2 05-02-2006 10:17 AM

Uname's good, or just look at the bootloader & see what kernel the menu option you selected is set to load :)


All times are GMT -5. The time now is 04:21 PM.