On Wed, May 30, 2001 at 09:20:54AM -0500, Troy Johnson wrote:
> I hadn't considered what Linux does to make things better, but I should have.
> When viewing my 'httpd's in 'top', is the memory shown there the actual amount
> of memory each daemon is using, or how much it would use if it wrote to the
> inherited memory space?

ps displays the memory uniquely allocated to a process in the RSS column.
I think that shared memory usage is displayed under VSZ in `ps u`, which is
the sum of the TRS and DRS columns in `ps v`, but I'm not positive about
these.

Pointers to documentation of what all the column headings in ps stand for and
their significance, anyone?

> Would it be advantageous to encapsulate most of the Perl interpreter in an
> .so library so that traditional CGIs could share that memory? I seem to
> remember something about that sort of thing being available (but not
> recommended yet) when compiling Perl 5.6.

Possibly, but if it's not recommended, there must be some (at least
potential) problems with doing so.

-- 
That's not gibberish...  It's Linux. - Byers, The Lone Gunmen
Geek Code 3.12:  GCS d? s+: a C++ UL++++$ P++>+++ L+++>++++ E- W--(++) N+
o+ !K w--- O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv+ b+ DI++++ D G e* h r y+