Hello all,
On Thu, Apr 12, 2012 at 06:24:15PM +, Bernhard Schmidt wrote:
[...]
Fortunately there is /proc/version ...
Thanks for everyone involved, I'm off writing checkscripts.
FWIW, please check the attached script.
HTH,
Flo
#!/usr/bin/perl -w
# fe: ripped out from
#
# apt-dater -
Hi,
the company I work for has a script on SLES/SuSE, that checks the
following three kernel versions
- latest version available in the repository
- version installed in /boot and thus likely to be loaded on next boot
- version running
and warns (and/or fixes) if there is a mismatch. I've been
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
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
Bob Proulx b...@proulx.com 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
Bernhard Schmidt wrote:
Bob Proulx wrote:
Try this:
$ cat /proc/version
Linux version 2.6.32-5-686 (Debian 2.6.32-41squeeze2) (da...@debian.org)
(gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Mar 26 05:20:33 UTC 2012
God damnit. I was looking in /proc/sys/kernel and
Bernhard Schmidt wrote:
Hi,
the company I work for has a script on SLES/SuSE, that checks the
following three kernel versions
- latest version available in the repository
- version installed in /boot and thus likely to be loaded on next boot
- version running
and warns (and/or fixes) if there
keith km3...@gmail.com wrote:
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.
8 matches
Mail list logo