Swapped out memory size
Hi,
I am working on finding out the memory usage of my application for past few todays.
I too posted some question's here earlier.
Ok now i come to know that the
Memory Usage = Resident size + Swaped out memory size of the particular process.
I can get the Resident set size through ps command.
I want to know , how i can find the Swapped out memory size of the particular process.
second question
As my application spawn's 'n' threads , to calculate memory usage , whether, i need to consider all the threads or the memory usage of the parent process is enough.
Pl. help me
Thanks in advance
|