Determining LC Server memory usage?

Phil Davis revdev at pdslabs.net
Sun Jun 30 22:16:32 EDT 2013


Interesting question, Richard. Here is something I just tried in a quick 
CGI script. Don't know it gives the memory info we need, but here goes:

     put "<p>" & word 2 of shell("ps -p" && the processID && "-o rss") & 
"k</p>"

Maybe there's a way to tweak it for better results.

Phil



On 6/30/13 1:28 PM, Richard Gaskin wrote:
> Phil's recent thread on LC Server memory usage got me thinking:  how 
> can we measure the RAM used by LC Server while it's running?
>
> CGI processes generally end too quickly to show up in top.  Any other 
> solutions?
>
> -- 
>  Richard Gaskin
>  Fourth World
>  LiveCode training and consulting: http://www.fourthworld.com
>  Webzine for LiveCode developers: http://www.LiveCodeJournal.com
>  Follow me on Twitter:  http://twitter.com/FourthWorldSys
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>

-- 
Phil Davis





More information about the use-livecode mailing list