SPUG: Process Size

John Cokos jcokos at ccs.net
Thu Nov 2 16:48:14 CST 2000


ps ux gives %mem

What I need to know is the actual bytes of memory consumed

In other words, if you were able to "really" compile the perl script
how big would it be?

John


========================================
  John Cokos, President / CEO: iWeb Inc.
  http://www.iwebsys.com
  jcokos at ccs.net
========================================

----- Original Message ----- 
From: "Asim Jalis" <ajalis at cobaltgroup.com>
To: "John Cokos" <jcokos at ccs.net>
Cc: <spug-list at pm.org>
Sent: Thursday, November 02, 2000 1:05 PM
Subject: Re: SPUG: Process Size


> On Wed, Nov 01, 2000 at 04:26:53PM -0800, John Cokos wrote:
> > Apologies in advance for the dumb question ....
> > 
> > How can I determine the amount of memory (in kb) that
> > a perl program consumes once compiled and running?
> 
> If you are running the program under Unix you can type "ps ux" (without
> the quotes) on the command line while your Perl program is running. This
> will show you the memory foot-print of your process and some other data.
> Another option on Unix is to type "top". This will give you running data
> on your processes (ps ux just gives you a snapshot).
> 
> On Windows you should run Task Manager (on W2K this pops up if you
> click Alt-Ctrl-Del and then select Task Manager). Then click on the
> "Processes" tab. One of the columns should list the memory foot-print
> of the Perl process.
> 
> Asim
> 
>  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>      POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
>       Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
>   Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
>  For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
>   Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
> 
> 
> 


 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
     POST TO: spug-list at pm.org       PROBLEMS: owner-spug-list at pm.org
      Subscriptions; Email to majordomo at pm.org:  ACTION  LIST  EMAIL
  Replace ACTION by subscribe or unsubscribe, EMAIL by your Email-address
 For daily traffic, use spug-list for LIST ;  for weekly, spug-list-digest
  Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/





More information about the spug-list mailing list