Home » Questions » Computers [ Ask a new question ]

Is there are tool for Windows that notifies about and can kill long-running processes?

Is there are tool for Windows that notifies about and can kill long-running processes?

"Sometimes different scheduled tasks on different servers just stop working for no apparent reason (at least none I could clearly identify) and I would like to get notified about it via email and/or want the process get automatically killed.
The tool I'm searching for should run as a Windows service and I would like to specify the processes to look for via regular expressions which should be applied to the command lines of all running processes."

Asked by: Guest | Views: 41
Total answers/comments: 1
Guest [Entry]

"The SysinternalsSuite has a tool called pslist.exe.

PsList uses the Windows NT/2K performance counters to obtain the information it displays. You can find documentation for Windows NT/2K performance counters, including the source code to Windows NT's built-in performance monitor, PerfMon, in MSDN

It can take a ""\\computer"" argument to fetch
process information from another machine on the network.

Once you decide you want to kill a process, there is a similar tool, pskill.exe.
This works on remote machines similarly.

A long-running task is not necessarily stalled.
You should analyze your tasks with the pslist command to identify stalled state.
These tools can then be used to kill such errant tasks remotely (from a single 'control' machine).

Both these tools are command line, allowing you to script from the control machine
(you just need remote access on the target machines)."