Hi Marcelo,
an easy way is a one-line shell script that uses the internal process
monitor of linux machines and writes the memory usage into a file.
<--- oOOo ----->
#!/bin/sh
while x=0; do top -b -u USERNAME -n 1 | grep "root.exe" >>
~/logs/rootlog.csv; sleep 1; done
<--- oOOo ----->
Note that you should replace USERNAME with the one you want to monitor.
after making the file executable (u+x) one can then easily trace memory
usage for your root process.
Cheers,
Stephan
On 1/14/2010 7:24 PM, Marcelo Zimbres wrote:
> Hi,
>
> is there any way to use Cint to measure how much memory is being used by
> a macro?
>
> I am loading a library in Cint, and my macro is using the library to
> perform some calculation. I would like to monitor how much memory is
> being used by the macro?
>
> Regards, Marcelo
Received on Thu Jan 14 2010 - 19:51:56 CET
This archive was generated by hypermail 2.2.0 : Fri Jan 15 2010 - 05:50:02 CET