On Wed, Nov 08, 2000 at 04:20:31PM +0100, Andreas J. Koenig wrote:
> >>>>> On Wed, 01 Nov 2000 01:21:30 -0800, Sam Horrocks <[EMAIL PROTECTED]> said:
> 
>  > This module would attempt to tell you how much memory your process
>  > is using, so your process could shutdown, restart or take other
>  > actions if it is getting too large.
> 
> Is there really no module that does this already? Have you looked at
> GTop?
> 
>  > The interface would be:
> 
>  >     Sys::MemoryUsage->total_vm;            # Total virtual memory in use.
>  >     Sys::MemoryUsage->data_segment;        # Data segment size
>  >     Sys::MemoryUsage->stack_segment;       # Stack segment size
>  >     Sys::MemoryUsage->text_segment;        # Text segment size
> 
> It has been violent agreement in the modules librarians circles that
> Sys:: is a bad prefix because it tends to become a bit basket. Maybe
> you could live with Unix::? Or Linux::? or BSD::? Or does your module
> really cover all platforms?

Don't forget Proc::* which would suit a module with portable APIs.

Tim.

Reply via email to