Thank you.

2015-04-22 14:34 GMT+07:00 Michael Van Canneyt <mich...@freepascal.org>:

>
>
> On Tue, 21 Apr 2015, Kiên Nguyễn Tiến Trung wrote:
>
>  I want to execute a command using TProcess and get the amount of memory
>> used by the command. Is it possible? I'm finding a solution working on both
>> Linux and Windows.
>>
>
>
> I have no knowledge of pascal code that accomplishes this.
> Under Linux you can probably try to read /proc/$PID/status, the various
> memory parameters start with 'Vm'
> Obviously this only works while the process is running.
>
> Michael.
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
> http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
>
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to