Operating System - HP-UX
1833757 Members
2689 Online
110063 Solutions
New Discussion

private resident set size

 
Luca Rasconi
Frequent Advisor

private resident set size

Hi all,
I have a big dilemma (for me!!!):
I know (or better, i think to know), that RSS is the amount of physical memory actually used by a process, against the SIZE (i'm using TOP notation), that is the amount of memory (including swap area) needed by a process.
I would like to know how it's possible that RES > SIZE. I found that there are Private RSS for a process, but what the meaning of private?

I hope i explain well...


Bye
Luca
Luca
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: private resident set size

Mike Stroyan
Honored Contributor

Re: private resident set size

I have added code for reference counting segments so it produces the same RES numbers as glance.
See the attached program.