LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   cpu load and memory consumption (http://www.linuxquestions.org/questions/programming-9/cpu-load-and-memory-consumption-4175452024/)

veena hosur 02-28-2013 01:27 AM

cpu load and memory consumption
 
how to get cpu load and memory consumption of current kernel module.using c

bigearsbilly 03-01-2013 02:03 AM

there is a function I came across it the other day I cannot for the life of me remember.

I can see using strace that prtstat reads /proc/pid/stat though.


All times are GMT -5. The time now is 07:16 PM.