Does anyone have an example of how to kill specific SDE connections using a batch file? Basically, I manually kill certain connections throughout the day to keep our server from maxing out during peak hours.
The connections are searched by username: sdemon -o info -I users -i esri_sde2 | find "username"
Then killed: sdemon -o kill -i esri_sde2 -N -p password -t <S-ID>
I have used batch files for various things in the past, but this particular one is challenging. I was reading about using delimiters to find particular parts of a string, etc. and my head almost exploded. Does anyone have an example that I could use to get started?
Thanks 🙂