> I am stuck on windows working with a process that runs > as a service. There's a bug in the process (vendor > code) and it doesn't show up in the output of net > start, so net stop can't stop it. > > I need to have a script that kills this process using > kill PID, but I am not aware of any command line tool > I can grep the output of or Perl routine I can call to > get the process ID of a process by a given name so > that I can kill it. > > Any ideas? I looked at Win32::Process but I think > that can only start new processes, not give me > information about existing processes.
I just looked up kill in O'Reilly "Perl for System Administration" and it recommended using either the NT Resource Kit (pulist.exe, tlist.exe, kill.exe /f) <http://www.microsoft.com/ntserver/nts/downloads/recommended/ntkit/defau lt.asp> or Win32::IProc. Only thing is, I can't seem to find a copy of Win32::IProc anywhere... If anyone happens to have it on their system or know where we could find it, please let us in on the secret! Cheers, -dave -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]