Hi<br><br>I previously asked about memory usage for each process, and advised to use getrusage, it gives me the time usage correct, however the memory usage (physical and virtual) are always zero<br><br>I found that linux keep process info in /proc/pid/mem or something like that, but I have to be admin to read this folder, is there a way using the process id, to get its size in memory before I cleanup and free the memory allocated?!<br>
<br><br>I appreciate your help a lot, <br><br>Kind Regards, <br><br>Manal<br>