Messages in this thread | | | Date | Tue, 14 Oct 2003 21:50:46 +0700 (ICT) | From | Theewara Vorakosit <> | Subject | get memory usage |
| |
Dear All, I want to get memory usage of myself and my child process. I try to use getrusage but the memory field in rusage struct is always 0. I check getrusage function in kernel/sys.c. I found that there is no memory usage information so the memory usage by getrusage is always 0. Do I understand correct? And is there any other function to do this? Thanks, Theewara
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |