WinBatch® Technical Support Forum

All Things WinBatch => WinBatch => Topic started by: santarjoe on December 15, 2013, 11:41:05 PM

Title: How get the amount of memory a particular executable is using ?
Post by: santarjoe on December 15, 2013, 11:41:05 PM
How get the amount of memory a particular executable is using ?
I've tried to find an api,  can't tell if the Process Extender would do it.
Title: Re: How get the amount of memory a particular executable is using ?
Post by: Deana on December 16, 2013, 07:20:41 AM
This does sounds like a job for the process extender. The function tGetProcInfo item 3.

Here is a sample that can be used to get the memory usage of a running script: http://techsupt.winbatch.com/webcgi/webbatch.exe?techsupt/tsleft.web+WIL~Extenders/Process~ID+Get~Mem~Usage~of~a~Running~script.txt