[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Checking for kernel freshness



On 2012-04-12 17:59 +0200, Bernhard Schmidt wrote:

> The hard part seems to be matching the running kernel against the
> version installed. I cannot figure out a good way so far. Nothing in the
> running kernel seems to show the Debian version (i.e.
> 2.6.32-41squeeze2), thus I cannot compare it. It is printed in the
> bootup messages
>
> [    0.000000] Linux version 2.6.32-5-amd64 (Debian 2.6.32-39squeeze1)
> (dannf@debian.org) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Jan
> 9 20:49:59 UTC 2012
>
> but that might be long gone when I check. I could not find this version
> string in /proc or /sys yet.

It's in /proc/version.

Cheers,
       Sven


Reply to: