Re: API to find the memory usage of a process.

2010-03-20 Thread Pieter de Goeje
On Thursday 18 March 2010 18:28:48 Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks,

API to find the memory usage of a process.

2010-03-18 Thread Jayadev Kumar
Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev. ___

Re: API to find the memory usage of a process.

2010-03-18 Thread J. Johnston
On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev. the

Re: API to find the memory usage of a process.

2010-03-18 Thread Charlie Kester
On Thu 18 Mar 2010 at 18:30:00 PDT J. Johnston wrote: On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port