Michael C. Toren on 31 Aug 2005 19:20:48 -0000


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

Re: [PLUG] Doh!! Uptime again.


On Wed, Aug 31, 2005 at 03:00:32PM -0400, Chris wrote:
> Anywho, at 500 days this is the only output I see on my uptime.  
> Its almost like it just reboot and been up a hour.

uptimed (http://freshmeat.net/projects/uptimed) can be handy for tracking
uptime and kernel versions over time, if you're in to that kind of thing.
I also like using it as a history of when a machine has been powered on vs
dormant, which is useful when trying to determine how long a power failure
lasted (http://michael.toren.net/code/tmp/lastshutdown).

-mct

-- 
perl -e'$u="\4\5\6";sub H{8*($_[1]%79)+($_[0]%8)}sub G{vec$u,H(@_),1}sub S{vec
($n,H(@_),1)=$_[2]}$_=q^{P`clear`;for$iX){PG($iY)?"O":" "forX8);P"\n"}for$iX){
forX8){$c=scalar grep{G@$_}[$i-1Y-1Z-1YZ-1Y+1ZY-1ZY+1Z+1Y-1Z+1YZ+1Y+1];S$iY,G(
$iY)?$c=~/[23]/?1:0:$c==3?1:0}}$u=$n;select$M,$C,$T,.2;redo}^;s/Z/],[\$i/g;s/Y
/,\$_/xg;s/X/(0..7/g;s/P/print+/g;eval' #     Michael C. Toren <mct@toren.net>

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug