date: 2003/01/10 17:52:53; author: wessels; state: Exp; lines: +1 -0
added reporting of "Process Data Segment Size via sbrk()" when
sbrk() call exists. According to the sbrk() man page, calling
sbrk(0) returns the end of the data segment. By storing the data
segment offset when Squid starts, we can report the size of the
data segment at any time. This might be a better metric than
getrusage()'s MAX RSS, which, in my experience, is often less than
the process size reported by 'ps' (presumably because some of the
processes memory is swapped to disk). However, initial tests show that
the sbrk() trick reports a value slightly smaller than reported by
'ps'.
date: 2003/01/17 05:21:49; author: wessels; state: Exp; lines: +1 -1
failure_ratio is a ratio, not a percentage. Removed %% from printf.