Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

full status? #37

Open
3811015 opened this issue Jul 11, 2019 · 0 comments
Open

full status? #37

3811015 opened this issue Jul 11, 2019 · 0 comments

Comments

@3811015
Copy link

3811015 commented Jul 11, 2019

I read up the www.conf that came along with a fresh install of php-fpm...

There is something very interesting there:

        ; By default the status page only outputs short status. Passing 'full' in the
	; query string will also return status for each pool process.
	; The Full status returns for each process:
	;   pid                  - the PID of the process;
	;   state                - the state of the process (Idle, Running, ...);
	;   start time           - the date and time the process has started;
	;   start since          - the number of seconds since the process has started;
	;   requests             - the number of requests the process has served;
	;   request duration     - the duration in µs of the requests;
	;   request method       - the request method (GET, POST, ...);
	;   request URI          - the request URI with the query string;
	;   content length       - the content length of the request (only with POST);
	;   user                 - the user (PHP_AUTH_USER) (or '-' if not set);
	;   script               - the main script called (or '-' if not set);
	;   last request cpu     - the %cpu the last request consumed
	;                          it's always 0 if the process is not in Idle state
	;                          because CPU calculation is done when the request
	;                          processing has terminated;
	;   last request memory  - the max amount of memory the last request consumed
	;                          it's always 0 if the process is not in Idle state
	;                          because memory calculation is done when the request
	;                          processing has terminated;
	; Note: There is a real-time FPM status monitoring sample web page available
	;       It's available in: /usr/share/php/7.2/fpm/status.html
	;
	; Note: The value must start with a leading slash (/). The value can be
	;       anything, but it may not be a good idea to use the .php extension or it
	;       may conflict with a real PHP file.
	; Default Value: not set
	pm.status_path = /status

Well, so I tried make it work but --endpoint /status?full and other tries wont change anything.

Can I somehow implement this myself? Or will I need to hope this might get implemented?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant