MattX Posted April 21, 2004 Share Posted April 21, 2004 Anyone have a suggestion in regards to using AutoIt to parse a PID [ process identifier from the Windows Task Manager ] to a file that will be scanned so the said PID [ which will be a specific file ] can be killed / terminated ? Link to comment Share on other sites More sharing options...
Developers Jos Posted April 21, 2004 Developers Share Posted April 21, 2004 How about pslist.exe from sysinternals ? Runwait(@comspec & " /c pslist.exe > p.txt") then read the p.txt file..... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
trids Posted April 21, 2004 Share Posted April 21, 2004 (edited) Sure .. have a browse around here ..http://www.sysinternals.com/ntw2k/freeware/pslist.shtml.. some nice utilities to use with AU3 EDIT: "SNAP!" Edited April 21, 2004 by trids Link to comment Share on other sites More sharing options...
Valik Posted April 21, 2004 Share Posted April 21, 2004 Or if you can wait, maybe Jon will get the PID stuff I wrote added to AutoIt soon... Link to comment Share on other sites More sharing options...
MattX Posted April 22, 2004 Author Share Posted April 22, 2004 Thanks for that - now using the PSLIST accross 100 Terminal Servers. We have users running flash games from I-notes crippling the CPU on servers so at least now I have a snap shot of certain .EXEs and I can terminate them after I have taken the snap shot. Just got to work on filtering out the stuff I want from the piped file and working on a way of terminating the said file automatically..... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now