Re: Measuring CGI resource usage

2014-05-14 Thread Simon Smith
Hi Richard Not sure if this would work - creating a daemon from a shell script and using the ps (or top) command to monitor and output everything for the livecode cgi process to text file, that you can then examine. - Simon On Wed, May 14, 2014 at 5:54 PM, Richard Gaskin wrote: > CGI is an unc

Measuring CGI resource usage

2014-05-14 Thread Richard Gaskin
CGI is an uncommonly harsh environment, with the entire runtime life cycle happening in the time it takes to satisfy an HTTP request. So I tend to take great care in measuring both CPU time and memory with CGI scripts, but I've found it difficult to get accurate measurements in the server envir