On 7/8/2009 3:30 PM, Bernard Li wrote:
> Hi Ken:
> 
> Okay, try this:
> 
> Figure out the user gmond is running as (common examples are: ganglia,
> nobody, etc.).  See if you can cat /proc/stat as that user.

<snip>
master3:~ # ps aux |grep gmond
nobody   31801  0.0  0.0  23128  2884 ?        Ss   15:30   0:00 
/usr/sbin/gmond
root     32101  0.0  0.0   4188   756 pts/8    S+   15:36   0:00 grep gmond
master3:~ # su - nobody
nob...@master3:~> grep btime /proc/stat
btime 1246312071
<snip>

"cat" works too.  Looks OK here as well. :(

I also stopped gmond and ran it manually in debug level 9.  The only 
reference to boottime in its output is this:

         sent message 'boottime' of length 8 with 0 errors

and the only place I've found that has time since epoch is in the heartbeat:

<snip>
Processing a Ganglia_message from c3n2.mydomain.local
Got a heartbeat message 1247084566

Processing a Ganglia_message from c3n6.mydomain.local
Got a heartbeat message 1246058841
<snip>

I'm not sure if the time since epoch listed in the heartbeat is being 
used to supply the value of boottime.  Puzzling...

------------------------------------------------------------------------------
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-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to