On Mon, 05 May 2008, Peter Palfrader wrote: > On Mon, 05 May 2008, Bernd Eckenfels wrote: > > > In article <[EMAIL PROTECTED]> you wrote: > > > Apropos. Is there a way to get that information from a vmlinuz file on > > > disk? Without booting it, that is. > > > > Interesting enough my (somewhat older) file command does only print "x86 > > boot sector", but I think some magic files supported it. Otherwise you can > > use "strings vmlinux | fgrep 2." > > This does not appear to work well on at least armel.
Or, more generally, when the kernel is compressed. http://svn.noreply.org/svn/weaselutils/trunk/nagios-check-running-kernel is what I delopyed on .debian.org so far. Cheers, and thanks, weasel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]