Jump to content


Photo
- - - - -

Monitor Latest Kernel Version?


  • Please log in to reply
9 replies to this topic

#1 Alk3

Alk3

    "I Hack, therefore, I am"

  • Binrev Financier
  • 1,003 posts
  • Gender:Not Telling
  • Location:312 Chi-town

Posted 23 February 2007 - 08:57 PM

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

#2 Rightcoast

Rightcoast

    mmm ... donuts

  • Agents of the Revolution
  • 2,074 posts
  • Gender:Male
  • Location:321

Posted 23 February 2007 - 09:29 PM

I don't know of a script off the top of my head, but you could maybe use the rss feed.
http://kernel.org/kdist/rss.xml

#3 Alk3

Alk3

    "I Hack, therefore, I am"

  • Binrev Financier
  • 1,003 posts
  • Gender:Not Telling
  • Location:312 Chi-town

Posted 24 February 2007 - 12:18 AM

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?

#4 jabzor

jabzor

    hax?

  • Agents of the Revolution
  • 1,146 posts
  • Country:
  • Gender:Male
  • Location:Northern Elbonia, fighting the lefties

Posted 24 February 2007 - 01:09 AM

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

#5 codar

codar

    mad 1337

  • Members
  • 145 posts
  • Location:heaven

Posted 24 February 2007 - 08:04 AM

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....kernel_check.py

#6 AxeZ

AxeZ

    I broke 10 posts and all I got was this lousy title!

  • Members
  • 17 posts

Posted 24 February 2007 - 03:14 PM

finger @kernel.org

#7 Alk3

Alk3

    "I Hack, therefore, I am"

  • Binrev Financier
  • 1,003 posts
  • Gender:Not Telling
  • Location:312 Chi-town

Posted 24 February 2007 - 09:36 PM

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....kernel_check.py


Exactly! Thanks!

#8 riscphree

riscphree

    Dangerous free thinker

  • Members
  • 1,936 posts
  • Gender:Male

Posted 25 February 2007 - 02:05 PM

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');"


#9 Alk3

Alk3

    "I Hack, therefore, I am"

  • Binrev Financier
  • 1,003 posts
  • Gender:Not Telling
  • Location:312 Chi-town

Posted 25 February 2007 - 02:37 PM

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.

#10 AxeZ

AxeZ

    I broke 10 posts and all I got was this lousy title!

  • Members
  • 17 posts

Posted 25 February 2007 - 06:59 PM

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.




BinRev is hosted by the great people at Lunarpages!