Jump to content

Windows Task Manager


 Share

Recommended Posts

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

  • Developers

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

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...