🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Subhendu Ghatak Thu, 27 Jun 1991 20:22
getrusage
#8609
Author: Subhendu Ghatak
Date: Thu, 27 Jun 1991 20:22
21 lines
1254 bytes
Hello,

  I need to use getrusage() to measure the working set size of a program.
  The getrusage() man page says that "The way resident set size is calculated
is an approximation, and could misrepresent the true resident set size"

1. How exactly is the resident set size calculated by getrusage() ?

2. Why might this be a misrepresentation of the true resident set size ?

3. If I take a number of readings and then take the mean, would that be a
   better approximation of the true resident set size ?

Thanks for your interest.
Could the answer, if one is forthcoming, please be e-mailed to
ghatak@cs.utk.edu please ? That would be appreciated. But a post on this
bulletin board is fine too. I will peek in here every now and then.

With regards to all,
Subhendu Ghatak
ghatak@cs.utk.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads