hi, i would like to locate the lock-file somewhere other than where it sits by default. http://people.ee.ethz.ch/~oetiker/webtools/mrtg/mrtg.html suggests that MRTG accepts a command-line option for doing this:
--lock-file filename Use an alternate lock-file (the default is to use the configuration-file appended with _l). but when i employ this option, i don't see any change in the name of the lock-file which gets created (i.e. the default still appears) [EMAIL PROTECTED]:~/var/log> ps -ewf | grep routers netstats 23627 1 2 06:06 ? 00:00:04 /usr/bin/perl -w /opt/vdops/mrtg-2/bin/mrtg /home/netstats/etc/routers.cfg /home/netstats/var/lock/routers.lock --logging /home/netstats/var/log/routers.log --pid-file=/home/netstats/var/run/routers.pid --user=netstats --group=vdops [EMAIL PROTECTED]:~/var/lock> pwd /home/netstats/var/lock [EMAIL PROTECTED]:~/var/lock> l total 8 drwxrwxr-x 2 netstats vdops 4096 2004-01-31 05:57 ./ drwxr-xr-x 6 netstats vdops 4096 2004-01-31 05:37 ../ [EMAIL PROTECTED]:~/var/lock> [EMAIL PROTECTED]:~/etc> pwd /home/netstats/etc [EMAIL PROTECTED]:~/etc> l | grep routers -rw-r--r-- 1 netstats vdops 82576 2004-01-30 15:48 routers.cfg -rw-r--r-- 1 netstats vdops 0 2004-01-31 06:06 routers.cfg_l [EMAIL PROTECTED]:~/etc> has anyone else had success in moving the location of the lock-file? i'm running mrtg-2.10.13. --sk Stuart Kendick FHCRC -- Unsubscribe mailto:[EMAIL PROTECTED] 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
