<HTML>
<HEAD>
<TITLE>Re: [hobbit] Small modification to hobbitclient-linux.sh</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>This and more are available in the cpu2.sh script on deadcat.<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>ZanDAhaR <allan@zandahar.net><BR>
<B>Reply-To: </B><hobbit@hswn.dk><BR>
<B>Date: </B>Mon, 05 Jun 2006 09:32:23 +1000<BR>
<B>To: </B><hobbit@hswn.dk><BR>
<B>Subject: </B>Re: [hobbit] Small modification to hobbitclient-linux.sh<BR>
<BR>
Henrik Stoerner wrote: <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
On Fri, Jun 02, 2006 at 02:47:30PM +0200, Frédéric Mangeant wrote:<BR>
<BR>
  <BR>
 <BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
hobbitclient-linux.sh uses "uname -a" to report information about the <BR>
OS, which gives something like this :<BR>
<BR>
Linux hades 2.6.14.2 #2 Wed Nov 16 10:14:26 CET 2005 i686 Pentium III <BR>
(Katmai) GNU/Linux<BR>
<BR>
IMHO it would be great to display less information about the running <BR>
kernel and add information about the Linux distribution, something like <BR>
that :<BR>
<BR>
Linux 2.6.14.2 i686 - Gentoo Base System version 1.6.14<BR>
Linux 2.6.9-34.EL i686 - CentOS release 4.3 (Final)<BR>
    <BR>
 <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'> <BR>
<BR>
I've taken your patch and modified it somewhat, so that the distribution<BR>
specific information is reported in a separate [osversion] section of<BR>
the client data. Then I made the "info" column webpage use this, so in<BR>
the "OS: " display you'll now see<BR>
<BR>
OS: Ubuntu 6.06<BR>
        Linux osiris.hswn.dk 2.6.15-23-k7 i686<BR>
<BR>
<BR>
Regards,<BR>
Henrik<BR>
<BR>
<BR>
To unsubscribe from the hobbit list, send an e-mail to<BR>
hobbit-unsubscribe@hswn.dk<BR>
<BR>
  <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Another very nice addition that will come in handy, but as an extension could the 'flavour' be added in there also ? Eg I know you can do cat /etc/redhat-release on redhat but no idea what the equivalent command is on other nix*<BR>
<BR>
Allan<BR>
<BR>
</SPAN></FONT>
</BODY>
</HTML>