Re: GTop vs. pmap on Linux

2006-05-02 Thread Bill Moseley
On Tue, May 02, 2006 at 10:00:20AM +0200, Torsten Foertsch wrote: > For 2.4 kernel series the figures got from /proc/PID/statm are as valid as > the > figures from Linux::Smaps for kernels 2.6.14 and higher. For 2.6.0 up to > 2.6.13 there is no way to count COW (shared by copy-on-write) pages. S

Re: GTop vs. pmap on Linux

2006-05-02 Thread Torsten Foertsch
On Monday 01 May 2006 21:00, Perrin Harkins wrote: > No.  The current best bet is Linux::Smaps, which Apache2::SizeLimit now > uses. For 2.4 kernel series the figures got from /proc/PID/statm are as valid as the figures from Linux::Smaps for kernels 2.6.14 and higher. For 2.6.0 up to 2.6.13 ther

Re: GTop vs. pmap on Linux

2006-05-01 Thread Perrin Harkins
On Mon, 2006-05-01 at 10:56 -0700, Bill Moseley wrote: > Anyone familiar with pmap on linux? No. The current best bet is Linux::Smaps, which Apache2::SizeLimit now uses. > I tend (and hope!) to believe GTop. Don't believe it. It's probably getting the same numbers you'd get from /proc/self/sta

GTop vs. pmap on Linux

2006-05-01 Thread Bill Moseley
Apache/2.0.55 (Debian) mod_perl/2.0.2 Perl/v5.8.8 I'm testing out a Catalyst application running under mod_perl (was using fastcgi before). I'm trying to get a grasp on the memory used by the processes. Anyone familiar with pmap on linux? There's this description of using pmap to determine sha