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

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to