::
Re: [DNG] measure memory usage
Català
Dansk
Deutsch
Ελληνικά
English
Español
suomi
Français
magyar
Italiano
日本語
Nederlands
Polski
Português
Português Brasileiro
Dette indlæg hører under følgende tråd:
Det komplette tråd-træ sorteret efter dato
g4sra den
2020-08-22 09:47
Hendrik Boom den
2020-08-22 15:03
Skribent:
marcxdv
Dato:
2020-08-22 09:57
UTC
Til:
dng
Emne:
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