[mrtg] Re: RunAsDaemon -- is this a good idea?
Tobias Oetiker
oetiker at ee.ethz.ch
Thu Aug 24 14:45:41 MEST 2000
Today you sent me mail regarding [mrtg] Re: RunAsDaemon -- is this a good idea?:
*>
*> Drew Sanford wrote:
*> > > Rationale:
*> > >
*> > > I want to write a wrapper around MRTG that restarts MRTG after it
*> > > exits or whenever the config files changes. I can't see no way to
*> > > do this without modifing MRTG.
*> > >
*> (...)
*> >
*> > What you're describing sounds like it can be done without needing to
*> > change MRTG's capability to RunAsDaemon. If you don't want it to run in
*> > daemon mode, don't enable it, and whatever wrapper you like, can simply
*> > restart MRTG every time it sees fit.
*>
*> That would work, but it would require MRTG to reparse its configuration
*> file for every loop. However, after some profiling I have found that this
*> is no big gain as the config reading/parsing/validation code is blazingly
*> fast.
only since pre23
cheers
tobi
*>
*> Ok, then this matter is void.
*>
*>
--
______ __ _
/_ __/_ / / (_) Oetiker, Timelord & SysMgr @ EE-Dept ETH-Zurich
/ // _ \/ _ \/ / TEL: +41(0)1-6325286 FAX:...1517 ICQ: 10419518
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://ee-staff.ethz.ch/~oetiker
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list