📜 ⬆️ ⬇️

sspp (Server Status PHP Parser)

sspp is a small parser written in php to sort and analyze server-status


Probably many people know about the existence of the wonderful Apache module mod_status .

It is included very simply, in httpd.conf you need to add:
ExtendedStatus On
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1

')

At the request of localhost / server-status you can see the current requests of the web server.


And this is of course very cool. But I always lacked sorting in the result table, for example, I had to quickly look for frequently repeated queries.
And it was boring and frustrating.

I have long had a parser in my plans that will be able to do what I need in my work. And here are friends, I wrote it and I want to share it with joy.
Meet SSPP ( download )


Opportunities:
I would be happy, good advice, and if you can improve the php code (I know very little php), I will be very happy%)

Source: https://habr.com/ru/post/44857/


All Articles