Just another Perl shrine | |
PerlMonks |
Re: Re: Re: Re: 3 weeks wasted? - will threads help?by Limbic~Region (Chancellor) |
on Jan 27, 2003 at 23:12 UTC ( [id://230402]=note: print w/replies, xml ) | Need Help?? |
Ok - so maybe it is the ps command that I am not understanding
I set up a little program to fork two copies of itself up at the top and then in the main body, do nothing more than
Performing a ps -el showed each processes' sz as though I had executed each one separately. Maybe I am using the wrong tool to determine how much total memory each process is taking away from the system. I am going to look into POE as was suggested by adrianh, but it seems forking would be a whole lot easier. Is there a way for me to benchmark the difference in total process memory utilization between:
Thanks for the insight and cheers - L~R
In Section
Seekers of Perl Wisdom
|
|