SPUG: Process Size
JP Montagnet
jope at n2h2.com
Wed Nov 1 19:34:02 CST 2000
It looks like Proc::ProcessTable slurps in the whole process table once,
then never refreshes, which may not be what you want. I was thinking it
did some fancy tie() magic under the hood, but doesn't look like it. Bah!
If you're on Linux, just parse the appropriate field out of /dev/$$/status
(or substitute the appropraite PID for $$ if monitoring another program).
Similar facilities ought to be available on the Unixes.
On Wed, 1 Nov 2000, John Cokos wrote:
> How can I determine the amount of memory (in kb) that
> a perl program consumes once compiled and running?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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