I can use gmetric to feed the information to gmond and have it show the 
correct uptime:

<snip>
./gmetric --name=boottime --value=`grep btime /proc/stat | awk '{ print 
$2 }'` --type=uint8
<snip>

However, when I do this, boottime disappears, but uptime is correct so 
long as I do not restart gmond.  If I restart gmond, boottime reappears 
with:
   boottime     Wed, 31 Dec 1969 16:00:00 -0800

... and uptime is recalculated:
   uptime       14442 days, 20:46:35

As such, it appears that gmond will accept the value if given to it, but 
it's not gathering this information correctly on its own.

- Ken

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to