Sign in to follow this  
Followers 0
MattX

Windows Task Manager

5 posts in this topic

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 ?

Share this post


Link to post
Share on other sites



How about pslist.exe from sysinternals ?

Runwait(@comspec & " /c pslist.exe > p.txt")

then read the p.txt file.....


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Or if you can wait, maybe Jon will get the PID stuff I wrote added to AutoIt soon...

Share this post


Link to post
Share on other sites

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.....

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0