3 ms·
> Resident size is the most reliable metric Actually, Proportional Set Size is more accurate than RSS. See: https://en.wikipedia.org/wiki/Proportional_set_siz
by d3Xt3r 4mo ago
> Resident size is the most reliable metric
Actually, Proportional Set Size is more accurate than RSS. See: https://en.wikipedia.org/wiki/Proportional_set_size https://en.wikipedia.org/wiki/Proportional_set_size
- cb321 4mo ago`procs display` (mentioned elsethread https://news.ycombinator.com/item?id=48788167 https://news.ycombinator.com/item?id=48788167 ) supports PSS via its %M format code. One issue with that relative to RSS is permissions. Historically, all procs could see the RSS used by procs of all other users (at least if they could see the PIDs at all). So, RSS requires no special permissions, but the Linux kernel team decided PSS should not be as promiscuous for whatever reasons (I didn't do a deep dive). So, I'm always having to do (the equivalent of) `sudo pu`.