[mrtg] Re: .cmd file angst

Christian Terek cpt at mnsi.net
Mon Oct 4 19:55:19 MEST 1999


Do a search through the articles for NT.  I had the same problem a while
back to the point where MRTG would even hang on me.  I think it was Ken
Stiers that answered my question.

He suggested using cmd.exe /c c:\perl... etc.  Something like that for every
CFG file.  After I did this it worked great, all the CMDs closed properly.

Sorry I can't be of any more help that that.  I'm not at work, otherwise I'd
send the cmd file I have as an example.
_______________
   Christian Terek
       MCSE+I
-----Original Message-----
From: Chairman of the Bored <list-mrtg-talk at L7.org>
To: mrtg at list.ee.ethz.ch <mrtg at list.ee.ethz.ch>
Date: Monday, October 04, 1999 1:39 PM
Subject: [mrtg] .cmd file angst


>
>
>good morning :)
>(yeah, i know, it's monday :(
>
>I am using a service called mrtgsrv to run a mrtg.cmd file every 5 minutes.
>
>this file looks like this:
>
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\total-bandwidth.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\port-useage.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\bandwidth-one.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\bandwidth-two.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\backbone.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\server-colo.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\frankenserver.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\franken-bsd.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\call-me-snake.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\catalog-cpu.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\sql.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\mailserver-1.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\mailserver-2.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\atm-1.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\atm-2.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\auspex-01.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\auspex-02.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\suncluster.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\colo-1.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\colo-2.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\colo-3.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\colo-4.cfg
>C:\BIN\PERL.EXE C:\MRTG\MRTG C:\MRTG\colo-5.cfg
>
>
>when i run it from the command line it does what it's supposed to.
>same if i hit enter on it in filemanager.
>
>however, letting the service do it, every 5 minutes it
>adds a cmd.exe process in task manager.
>
>right now task manager is showing
>
>image name   PID      CPU     CPU Time     Mem Useage
>
>cmd.exe      284      01      0:00:00      1004k
>cmd.exe      257      00      0:00:00      404k
>cmd.exe      264      00      0:00:00      44k
>cmd.exe      274      00      0:00:00      44k
>cmd.exe      277      00      0:00:00      44k
>cmd.exe      276      00      0:00:00      44k
>
>
>
>it looks like it's not exiting the mrtg.cmd file cleanly.
>anyone have any ideas? killing all the processes every
>morning is starting to be annoying..
>
>thanks,
>-dd
>
>                                \\\\\//
>       \\|//       _\\|//_      |     |      _\\|//_       \\|//
>       (@ @)      (' 0-0 ')     (.) (.)     (' @-@ ')      (o-o)
>+-=oOOo-(_)-oOOo=oo0=(_)=0oo=oOO=-(_)-=OOo=oo0=(_)=0oo=oOOo-(_)-oOOo=-+
>        Plazma Networking Services / Level Seven inc.
>     Connecting the World....
> http://www.plazma.net http://www.L7.net http://www.L7.org         /"\
>    Olympia's "one stop" InterNetworking Provider 1 (360) 357 - 7315    \ /
>+-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+  X
>ASCII Ribbon campaign against HTML E-Mail >- - - - - - - - - - - - - -> / \
>
>--
>* To unsubscribe from the mrtg mailing list, send a message with the
>  subject: unsubscribe to mrtg-request at list.ee.ethz.ch
>* The mailing list archive is at http://www.ee.ethz.ch/~slist/mrtg
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Christian P Terek.vcf
Type: text/x-vcard
Size: 130 bytes
Desc: not available
Url : https://lists.oetiker.ch/pipermail/mrtg/attachments/19991004/e7c4e023/attachment.vcf 


More information about the mrtg mailing list