[olug] Automating killing a *nix process from a windows box

T. J. Brumfield enderandrew at gmail.com
Tue Mar 23 15:41:47 UTC 2010

Here is the problem. We have error logs spitting out on Windows boxes
about GoldenGate processes locking up on a Solaris box. This is a
known bug that GoldenGate is hoping to fix in their next release. The
Solaris team has told me these logs aren't visible from the Solaris
boxes, despite the fact that is where GoldenGate is actually running.
I don't exactly believe that, but I have to go off what they tell me.

If the logs appeared on the Solaris boxes themselves, I could write a
script that would watch the log, try to see the error message, pull
out the PID and then kill the process. But the logs are only in our
Windows environment.

I've been trying to ask our Solaris team if the Solaris boxes have
postfix or any type of mail server running, where we could send an
email to those boxes with a PID to kill. But they don't seem to know
anything about the systems they are running.

I do believe there are tools where I can pass commands into a putty
session, but what would be the best way to automate the process of
either watching a log or reading an email in Windows, pulling out a
PID, and then passing it to the script that will run putty, and thusly
the kill command?

-- T. J. Brumfield
"I'm questioning my education
Rewind and what does it show?
Could be, the truth it becomes you
I'm a seed, wondering why it grows"
-- Pearl Jam, Education

More information about the OLUG mailing list