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 > > 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 system( "...." ) call to execute some > > other programs like ps to get that information. > > > > Thanks, > > Haim > > > > > > -------------------------------------------------------------------------- > > Haifa Linux Club Mailing List (http://www.haifux.org) > > To unsub send an empty message to [EMAIL PROTECTED] > > > > > > > > > > > -------------------------------------------------------------------------- > Haifa Linux Club Mailing List (http://www.haifux.org) > To unsub send an empty message to [EMAIL PROTECTED] > > > -------------------------------------------------------------------------- Haifa Linux Club Mailing List (http://www.haifux.org) To unsub send an empty message to [EMAIL PROTECTED]