Title: Message
 
"moses" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
Hi all - I want to get some information on the memory usage of processes like total size and number of pages in real memory i know that "cat statm" under a process in the / proc give the answer i want to what function in the kernel code (probably in fs/proc/proc_misc.c ) this commands calls to. thanks it would help me a lot.
Look at getrusage() :
 

   =====================================
   Alex Vinokur
     mailto:[EMAIL PROTECTED]
     http://mathforum.org/library/view/10978.html
     news://newsgmane.org/gmane.comp.lang.c++.perfometer
   =====================================
 
 

Reply via email to