QUERY: How to control external exe & read it's process details

process , application , memory United Kingdom
  • 9 years ago

    I would like to create a service or background running program (something that minimizes to system tray).

    It would have a path list of external applications, eg.

    • C:\App1\Task1.exe
    • C:\App2\Task2.exe
    • C:\App3\Task3.exe

    It would start the first one and monitor the process details (CPU Usage, Mem Usage, and maybe I/O Writes). Each application will do their jobs for a couple of minutes then go idle - hence completed the task. At this point the CPU Usage = 0, Mem Usage, etc. will be idle.

    Then I need to close/kill that process and start the next application in the list. And this repeats as above and so on.

    Does anyone know how to execute an external program, monitor the process details, then kill it?

Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“Debugging is anticipated with distaste, performed with reluctance, and bragged about forever.” - Dan Kaminsky