[mrtg] .cmd file angst

Chairman of the Bored list-mrtg-talk at L7.org
Mon Oct 4 19:27:32 MEST 1999



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


More information about the mrtg mailing list