[Mapserver-users] NT batch programm to kill old mapserver pro cesses

Hankley, Chip Chip.Hankley at GASAI.Com
Mon Jan 20 09:29:04 EST 2003


You would need to use KILL.exe (on the NT Resource Kit CD I believe) OR my
favorite is PSKILL.exe from SYSINTERNALS... they have a whole suite of free
NT/2000 management tools. I like PSKILL b/c it's a little bigger hammer.

You'll have to look at the syntax of the commands... but my hunch is that
you are going to capture the output to a text file and parse it to determine
the number of seconds each process has been running. You should be able to
do this in just about any language.

Finally, once you have the script in place, you could use the scheduler
utility to have the program run at a specified interval.

Chip



-----Original Message-----
From: Nicole Bömeke [mailto:bon at ivv-aachen.de]
Sent: Monday, January 20, 2003 7:17 AM
To: Mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] NT batch programm to kill old mapserver
processes


I'm need a batch programm that kills all mapserver processes running longer
than e.g. 300 seconds.
How can I achieve this?

Nicole

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list