[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/50801: /proc/<pid>/statm has badly set values.
The following reply was made to PR kern/50801; it has been noted by GNATS.
From: mlelstv%serpens.de@localhost (Michael van Elst)
Subject: Re: kern/50801: /proc/<pid>/statm has badly set values.
Date: Sun, 14 Feb 2016 08:23:55 +0000 (UTC)
>from linux man proc:
>resident (2) resident set size
> (same as VmRSS in /proc/[pid]/status)
>share (3) shared pages (i.e., backed by a file)
The kernel doesn't gather statistics for the shared pages,
so none can be reported.
The RSS size on the other hand is easy to provide. The
data is kept in the MD pmap code and must be fetched.
It's already done for /proc/[pid]/stat.
Michael van Elst
"A potential Snark may lurk in every tree."
Main Index |
Thread Index |