Log Message: |
Modified the escript python module.
If the escriptExitProfiling environment variable is set, then the
contents of the status file from /proc will be copied to memescript.pid
This means we can log fun things like peak memory usage.
This only works on linux systems recent enough to have the status file.
|