:: Re: [DNG] measure memory usage
Etusivu
Poista viesti
Vastaa
Lähettäjä: marcxdv
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] measure memory usage
> On Friday 21 August 2020 at 22:23:16, Hendrik Boom wrote:
>
> > Is there a way for process to ask about its own memory usage?
>
> Assuming the process knows its own PD, try the 24th value in /proc/PID/stat


... or just /proc/self/stat

regards

marc