Hi,
I wanted to know if there is any system call() to get the memory usage of a process.
My task is like this :
customizing the PS sources inorder to get the memory usage of two specific processes.
so, it's like ... when i run a C/C++ binary it should result in giving the sum of the memory
used by the two known processes. I can get it by using PS itself with options like "aux" and
"vsz" which result in giving memory used in KB....but i wanted to know if there is any
system call() which gives me the same.
Since i found modifying the PS sources a bit difficult according to my requirement,
i am posting it to groups.
--
Thanks & Regards,
Rajath N R