[lug] which image am i running?

Kevin Fenzi kevin at scrye.com
Fri Apr 20 11:44:48 MDT 2001

>>>>> "charles" == charles  <charles at lunarmedia.net> writes:

charles> i have a few different kernels compiled on a machine.  how
charles> can i tell which i am running. several of them are all within
charles> the same revision however, so uname doesnt seem to give me
charles> the info that i am looking for.

charles> for example:
charles> ...snipp...
charles> how can i tell which i booted to the last time i powered up?


cat /proc/cmdline

for example, on my laptop this shows:

auto BOOT_IMAGE=2.4.3-ac5 ro root=304 BOOT_FILE=/boot/vmlinuz-2.4.3-ac5

so, I booted 2.4.3-ac5, which uses /boot/vmlinuz-2.4.3-ac5 as the boot
kernel. ;) 

charles> thanks -cjm


More information about the LUG mailing list