Determining LC Server memory usage?
Richard Gaskin
ambassador at fourthworld.com
Tue Jul 2 11:53:47 EDT 2013
Phil Davis wrote:
> 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>"
Nice solution. I had forgotten about processID.
I was hoping for something that could be done from outside the script a
la strace, but this is a very useful solution for now.
Thanks - much appreciated.
--
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
More information about the use-livecode
mailing list