[Mapserver-users] NT batch programm to kill old mapserver pro
cesses
Hankley, Chip
Chip.Hankley@GASAI.Com
Mon, 20 Jan 2003 08:29:04 -0600
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@ivv-aachen.de]
Sent: Monday, January 20, 2003 7:17 AM
To: Mapserver-users@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@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users