Only /status?plain&full gives "last request cpu"
[2012-08-22 09:17 UTC] jasper at nerdsweide dot nl
Description:
------------
The following status calls don't display the "last request cpu" information:
/status?html&full
/status?json&full
/status?html&full
Only /status?plain&full includes the "last request cpu", but it is always 0.
I tracked this down to the file sapi/fpm/fpm/fpm_status.c
On line 346 this:
#ifdef HAVE_FPM_LQ
should be:
#if HAVE_FPM_LQ
But this will also remove "last request cpu" from format "plain" in my case.
As far as I understand it has something to do with <netinet/tcp.h> not supporting "tcp_info" in my system. But I do have a /usr/include/netinet/tcp.h
Expected result:
----------------
To see "last request cpu" when using formats "html", "json" and "xml".
And to see a valid value (in stead of 0) when using format "plain".
Actual result:
--------------
Not seeing "last request cpu" when using formats "html", "json" and "xml".
Always seeing 0 (in stead of a valid value) when using format "plain".
[2012-09-27 23:26 UTC] fat@php.net
-Status: Open +Status: Closed
[2012-09-27 23:27 UTC] fat@php.net
-Assigned To: +Assigned To: fat
[2012-09-27 23:27 UTC] fat@php.net