@@ -54,15 +56,15 @@
-
-
+
+
{% endblock %}
\ No newline at end of file
diff --git a/plugins/php/js/php.js b/plugins/php/js/php.js index f2e5e39ae..d805c29ab 100755 --- a/plugins/php/js/php.js +++ b/plugins/php/js/php.js @@ -614,3 +614,23 @@ function phpUploadLimit(version, max) { var LimitCon = '
MB
'; $(".soft-man-con").html(LimitCon); } + +function GetPHPStatus(a) { + if(a == "52") { + layer.msg(lan.bt.php_status_err, { + icon: 2 + }); + return + } + $.post("/ajax?action=GetPHPStatus", "version=" + a, function(b) { + layer.open({ + type: 1, + area: "400", + title: lan.bt.php_status_title, + closeBtn: 2, + shift: 5, + shadeClose: true, + content: ""+lan.bt.php_pool+" | " + b.pool + " |
---|---|
"+lan.bt.php_manager+" | " + ((b["process manager"] == "dynamic") ? lan.bt.dynamic : lan.bt.static) + " |
"+lan.bt.php_start+" | " + b["start time"] + " |
"+lan.bt.php_accepted+" | " + b["accepted conn"] + " |
"+lan.bt.php_queue+" | " + b["listen queue"] + " |
"+lan.bt.php_max_queue+" | " + b["max listen queue"] + " |
"+lan.bt.php_len_queue+" | " + b["listen queue len"] + " |
"+lan.bt.php_idle+" | " + b["idle processes"] + " |
"+lan.bt.php_active+" | " + b["active processes"] + " |
"+lan.bt.php_total+" | " + b["total processes"] + " |
"+lan.bt.php_max_active+" | " + b["max active processes"] + " |
"+lan.bt.php_max_children+" | " + b["max children reached"] + " |
"+lan.bt.php_slow+" | " + b["slow requests"] + " |
"+lan.bt.php_pool+" | " + b.pool + " |
---|---|
"+lan.bt.php_manager+" | " + ((b["process manager"] == "dynamic") ? lan.bt.dynamic : lan.bt.static) + " |
"+lan.bt.php_start+" | " + b["start time"] + " |
"+lan.bt.php_accepted+" | " + b["accepted conn"] + " |
"+lan.bt.php_queue+" | " + b["listen queue"] + " |
"+lan.bt.php_max_queue+" | " + b["max listen queue"] + " |
"+lan.bt.php_len_queue+" | " + b["listen queue len"] + " |
"+lan.bt.php_idle+" | " + b["idle processes"] + " |
"+lan.bt.php_active+" | " + b["active processes"] + " |
"+lan.bt.php_total+" | " + b["total processes"] + " |
"+lan.bt.php_max_active+" | " + b["max active processes"] + " |
"+lan.bt.php_max_children+" | " + b["max children reached"] + " |
"+lan.bt.php_slow+" | " + b["slow requests"] + " |
"+lan.bt.nginx_active+" | " + a.active + " |
---|---|
"+lan.bt.nginx_accepts+" | " + a.accepts + " |
"+lan.bt.nginx_handled+" | " + a.handled + " |
"+lan.bt.nginx_requests+" | " + a.requests + " |
"+lan.bt.nginx_reading+" | " + a.Reading + " |
"+lan.bt.nginx_writing+" | " + a.Writing + " |
"+lan.bt.nginx_waiting+" | " + a.Waiting + " |