Sign in to follow this  
Followers 0
Alk3

Monitor Latest Kernel Version?

10 posts in this topic

I want to be able to keep track of the version of the latest kernel. I have seen scripts that do this automatically and I can't seem to find one to do this... Any links? I want to be able to check this from my desktop when need be. I can't seem to remember where I saw this at. It was on one of the servers of another binrev user.

Alk3

0

Share this post


Link to post
Share on other sites

Well, I knew that one... I think I will just stick with the RSS feed until I find/figure out how to do this. Anyone else have any suggestions?

0

Share this post


Link to post
Share on other sites

Shouldn't be very hard to curl/wget the rss and grep out then strcmp to uname..

0

Share this post


Link to post
Share on other sites
I want to be able to keep track of the version of the latest kernel. I have seen scripts that do this automatically and I can't seem to find one to do this... Any links? I want to be able to check this from my desktop when need be. I can't seem to remember where I saw this at. It was on one of the servers of another binrev user.

Alk3

i dunno if this will help but try this script http://pyhack.hostj.net/pyscripts/kernel_check.py

0

Share this post


Link to post
Share on other sites
I want to be able to keep track of the version of the latest kernel. I have seen scripts that do this automatically and I can't seem to find one to do this... Any links? I want to be able to check this from my desktop when need be. I can't seem to remember where I saw this at. It was on one of the servers of another binrev user.

Alk3

i dunno if this will help but try this script http://pyhack.hostj.net/pyscripts/kernel_check.py

Exactly! Thanks!

0

Share this post


Link to post
Share on other sites

Our good buddy dual made this one:

#!/usr/bin/perl -w

# kernel_check.pl - by dual
#
# Checks on the latest kernels
##############################


use strict;
use LWP;


# Create browser instance and fetch banner
my $browser = LWP::UserAgent->new;
$browser->env_proxy();
my $response = $browser->get(
'http://www.kernel.org/kdist/finger_banner'
);
die "What's wrong?" unless $response->is_success;


# Output response
my $output = $response->content;
print $output;


# One-liner for good measure
# perl -MLWP::Simple -e "getprint('http://www.kernel.org/kdist/finger_banner');"

0

Share this post


Link to post
Share on other sites
Our good buddy dual made this one:

#!/usr/bin/perl -w

# kernel_check.pl - by dual
#
# Checks on the latest kernels
##############################


use strict;
use LWP;


# Create browser instance and fetch banner
my $browser = LWP::UserAgent->new;
$browser->env_proxy();
my $response = $browser->get(
'http://www.kernel.org/kdist/finger_banner'
);
die "What's wrong?" unless $response->is_success;


# Output response
my $output = $response->content;
print $output;


# One-liner for good measure
# perl -MLWP::Simple -e "getprint('http://www.kernel.org/kdist/finger_banner');"

This was the one I was specifically looking for. I couldn't remember where I saw it, though.

0

Share this post


Link to post
Share on other sites
Our good buddy dual made this one:

#!/usr/bin/perl -w

# kernel_check.pl - by dual
#
# Checks on the latest kernels
##############################


use strict;
use LWP;


# Create browser instance and fetch banner
my $browser = LWP::UserAgent->new;
$browser->env_proxy();
my $response = $browser->get(
'http://www.kernel.org/kdist/finger_banner'
);
die "What's wrong?" unless $response->is_success;


# Output response
my $output = $response->content;
print $output;


# One-liner for good measure
# perl -MLWP::Simple -e "getprint('http://www.kernel.org/kdist/finger_banner');"

This was the one I was specifically looking for. I couldn't remember where I saw it, though.

Which is doing exactly same thing as typing

finger @kernel.org

in your terminal emulator as I have mentioned above.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0