NYCPHP Meetup

NYPHP.org

[nycphp-talk] Memory usage at runtime

Jack Scott lists at jack-scott.com
Fri May 19 13:37:32 EDT 2006


If you are on *NIX and execute the script from the command line then you
can run top or `ps aux | grep myscriptname `  and see the mem usage for
that process.

This won't give you the variable mem footprint but it will give you a
general idea of resources being used.

-jack

On Fri, 2006-05-19 at 13:28 -0400, Nunez, Eddy wrote:
> Greets fellow PHPers,
> 
>           This is something I’ve been looking around for but bit hard
> pressed to find something on the net.  Anyone know a function call or
> method to determine how much memory in bytes your script variables(any
> type) are currently using?
> 
>  
> 
> -Eddy
> 
> Would you like to think & communicate more effectively?
> 
> visit: http://www.toastmasters.org
> 
>  
> 
> 
> 
> 
> 
> **************************************************************
> This message, including any attachments, contains confidential
> information intended for a specific individual and purpose, and is
> protected by law. If you are not the intended recipient, please
> contact sender immediately by reply e-mail and destroy all copies. You
> are hereby notified that any disclosure, copying, or distribution of
> this message, or the taking of any action based on it, is strictly
> prohibited.
> TIAA-CREF
> **************************************************************
> 
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> New York PHP Conference and Expo 2006
> http://www.nyphpcon.com
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20060519/142d3a3b/attachment.html>


More information about the talk mailing list