[mrtg] Re: STDIN ?
Alex van den Bogaerdt
alex at slot.hollandcasino.nl
Thu Aug 23 22:31:05 MEST 2001
Daniel R . Kilbourne wrote:
>
>
> It actually was pretty simple - just a few added lines to MRTG_lib.pm allowing for STDIN, and now
> I can call mrtg thusly:
>
> /bin/cat /home/mrtg/configs/test.cfg | /home/mrtg/bin/mrtg STDIN
Maybe you'd like to share the diff ? (Not for meself)
BTW, it is more common to use the special file name '-' for stdin.
cheers,
--
__________________________________________________________________
/ alex at slot.hollandcasino.nl alex at ergens.op.het.net \
| work private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+
| Technical questions sent directly to me will be nuked. Use the list. |
+----------------------------------------------------------------------+
| http://faq.mrtg.org/ |
| http://rrdtool.eu.org --> tutorial |
+----------------------------------------------------------------------+
--
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