There is really no reason we can't make the debug and host location command line options in gmond. With getopt this should be easy. I'll look into it.
Federico ----- Original Message ----- From: "Steven Wagner" <[EMAIL PROTECTED]> To: "Lester Vecsey" <[EMAIL PROTECTED]> Cc: <[email protected]> Sent: Monday, November 11, 2002 9:34 AM Subject: Re: [Ganglia-developers] /usr/sbin/gmond -F option > Lester Vecsey wrote: > > I hacked in a force_foreground option into gmond 2.5.0, which essentially > > just insures that the daemon_init() function never gets called.. regardless > > of the debug level. > > > > I use this with D.J. Bernsteins supervise tool, in his daemontools package > > at http://cr.yp.to/daemontools.html. It does the job and makes it really > > easy to start and restart gmond, gmetad, etc. > > > > I'd like to suggest having this force_foreground type feature future > > versions. I call gmond with the -F option now. The apache httpd daemon has > > been modified by some people to offer something similar, but it doesn't seem > > to be in the stock distribution. I hope ganglia sets a positive trend here > > :) > > Ganglia doesn't fork if you use a nonzero debug value. Redirect its > outputs to /dev/null and you have the same thing. > > I admit, I do miss debug being a command-line switch versus a config > directive... > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Ganglia-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/ganglia-developers >
