Req #62951 [Com]: Log utime and stime
Edit report at https://bugs.php.net/bug.php?id=62951&edit=1
ID: 62951
Comment by: rainer-phpbugs at 7val dot com
Reported by: rainer-phpbugs at 7val dot com
Summary: Log utime and stime
Status: Feedback
Type: Feature/Change Request
Package: FPM related
PHP Version: 5.3.16
Block user comment: N
Private report: N
New Comment:
I've missed the bit in fpm_log.c, since I didn't want to include my changes that cause
tms_total to always be in 1/1000 seconds. The updated Patch includes this change.
Previous Comments:
------------------------------------------------------------------------
[2012-09-27 14:33:32] fat@php.net
the patch does not seem to be complete. There's a missing part: how the log is
handle ?
------------------------------------------------------------------------
[2012-08-27 14:13:19] rainer-phpbugs at 7val dot com
Description:
------------
To identify performance bottlenecks in our shared hosting environment, it is desirable to log the
utime and stime consumed for each request. The current %{system}C and %{user}C just log the relative
CPU-Usage percentage, not the absolute time used.
the patch below adds %(rsystem}C and %{ruser}C to the logformat options, measured in milliseconds
via getrusage();
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62951&edit=1
Thread (6 messages)