[mrtg] Re: output to $STDERR w/2.9.2

Ashley M. Kirchner ashley at pcraft.com
Fri Oct 20 00:16:34 MEST 2000


Larry Vaden wrote:

> > > [root at ns2 bin]# ./mrtg fqdn.cfg > /dev/null
> > >  >>public at fqdn<<

    While this isn't exactly the solution, nor answer to your question, but you
can still suppress that information.  Try this:

    ./mrtg fqdn.cfg 1> /dev/null 2> /dev/null

    Basically, in your example, you're only suppressing whatever MRTG generates,
but if you are calling another program within your script, that's not being
suppressed.  Adding a second level of redirection to /dev/null may be your
solution.

    AMK4

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |____________________________________________________________________
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  SysAdmin / Websmith                           .     800.441.3873 x130
  Photo Craft Laboratories, Inc.             .        eFax 248.671.0909
  http://www.pcraft.com                  .         3550 Arapahoe Ave #6
  .................. .  .  .     .               Boulder, CO 80303, USA



--
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