From mboxrd@z Thu Jan 1 00:00:00 1970 From: fche@redhat.com (Frank Ch. Eigler) Date: Tue, 16 Oct 2012 14:35:12 -0400 Subject: any way to see the running kernel's "vermagic" string? In-Reply-To: (Robert P. J. Day's message of "Tue, 16 Oct 2012 10:52:49 -0400 (EDT)") References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org "Robert P. J. Day" writes: > perhaps i've just overlooked it but is there an easy way to see the > current kernel's calculated "vermagic" string, as defined in the > header file include/linux/vermagic.h thusly? [...] Another way is systemtap: # stap -g -e 'probe begin { log ( %{ VERMAGIC_STRING /* string */ %} ) exit() }' 3.1.0-7.fc16.x86_64 SMP mod_unload - FChE