Req #62951 [Opn->Fbk]: Log utime and stime
| From: | fat@php.net | Date: | Thu, 27 Sep 2012 14:33:32 +0000 |
| Subject: | Req #62951 [Opn->Fbk]: Log utime and stime | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-173739@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62951&edit=1
ID: 62951
Updated by: fat@php.net
Reported by: rainer-phpbugs at 7val dot com
Summary: Log utime and stime
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: FPM related
PHP Version: 5.3.16
Block user comment: N
Private report: N
New Comment:
the patch does not seem to be complete. There's a missing part: how the log is
handle ?
Previous Comments:
------------------------------------------------------------------------
[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