Re: [Haifux] Getting information about current process memoryconsumption

2003-07-28 Thread Kohn Emil Dan
On Mon, 28 Jul 2003, Eli Billauer wrote: > I think the solution lies in reading /proc/$pid/statm, where there is > info about memory usage. man proc for more details. getrusage() might also help. man getrusage Emil > > Eli > >

Re: [Haifux] Getting information about current process memory consumption

2003-07-28 Thread Eli Billauer
I think the solution lies in reading /proc/$pid/statm, where there is info about memory usage. man proc for more details. Eli Haim Cohen wrote: Hi, Does some one know if there is a system call to get information about the memory usage of the current process ? I mean - a C system call, not a sys