root/stats/uptime.sh

Revision 285, 132 bytes (checked in by mankoff, 3 years ago)

bug fix

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3up=`/sw/bin/uprecords -as | grep "^->" | sed s/\ \ */\ /g | cut -d" " -f3`
4/sw/bin/rrdtool update ./uptime.rrd "N:$up"
Note: See TracBrowser for help on using the browser.