✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ premium290.web-hosting.com ​🇻​♯➤ 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 63.250.38.37 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.138
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /usr/local/lsws/admin/html.6.2.1/service//graph_xml.php
<?php

require_once("../includes/auth.php");

function input_val($name)
{
	return DUtil::getGoodVal(DUtil::grab_input('GET', $name));
}

$graph_type = input_val('graph_type');
$stats = new STATS();
$stats->parse_litespeed();
$d = new stdClass();
$d->CURTIME = date("M j H:i:s");

switch ($graph_type) {
	case 'Server':
		$sd = $stats->vhosts['_Server'];
		$d->BPS_IN = $stats->bps_in;
		$d->BPS_OUT = $stats->bps_out;
		$d->SSL_BPS_IN = $stats->ssl_bps_in;
		$d->SSL_BPS_OUT = $stats->ssl_bps_out;
		$d->MAXCONN = $stats->max_conn;
		$d->MAXSSL_CONN = $stats->max_ssl_conn;
		$d->PLAINCONN = $stats->plain_conn;
		$d->AVAILCONN = $stats->avail_conn;
		$d->IDLECONN = $stats->idle_conn;
		$d->SSLCONN = $stats->ssl_conn;
		$d->AVAILSSL = $stats->avail_ssl_conn;
		$d->REQ_PROCESSING = $sd->req_processing;
		$d->REQ_PER_SEC = $sd->req_per_sec;
		$d->TOT_REQS = $sd->req_total;
		$d->TOTAL_CACHE_HITS = $sd->total_cache_hits;
		$d->CACHE_HITS_PER_SEC = $sd->cache_hits_per_sec;
		$d->TOTAL_STATIC_HITS = $sd->total_static_hits;
		$d->STATIC_HITS_PER_SEC = $sd->static_hits_per_sec;
		$d->TOTAL_PRIVATE_CACHE_HITS = $sd->total_private_cache_hits;
		$d->PRIVATE_CACHE_HITS_PER_SEC = $sd->private_cache_hits_per_sec;
		break;

	case 'VH':
		$vhost = input_val('vhost');
		if (!empty($stats->vhosts[$vhost])) {
			$vd = $stats->vhosts[$vhost];
			$d->REQ_PROCESSING = $vd->req_processing;
			$d->REQ_PER_SEC = $vd->req_per_sec;
			$d->STATIC_HITS_PER_SEC = $vd->static_hits_per_sec;
			$d->CACHE_HITS_PER_SEC = $vd->cache_hits_per_sec;
			$d->EAP_PROCESS = $vd->eap_process;
			$d->EAP_INUSE = $vd->eap_inuse;
			$d->EAP_IDLE = $vd->eap_idle;
			$d->EAP_WAITQ = $vd->eap_waitQ;
			$d->EAP_REQ_PER_SEC = $vd->eap_req_per_sec;
			$d->TOTAL_STATIC_HITS = $vd->total_static_hits;
			$d->TOTAL_CACHE_HITS = $vd->total_cache_hits;
			$d->TOTAL_PRIVATE_CACHE_HITS = $vd->total_private_cache_hits;
			$d->PRIVATE_CACHE_HITS_PER_SEC = $vd->private_cache_hits_per_sec;
		} else {
			$d->REQ_PROCESSING = 0;
			$d->REQ_PER_SEC = 0;
			$d->STATIC_HITS_PER_SEC = 0;
			$d->CACHE_HITS_PER_SEC = 0;
			$d->EAP_PROCESS = 0;
			$d->EAP_INUSE = 0;
			$d->EAP_IDLE = 0;
			$d->EAP_WAITQ = 0;
			$d->EAP_REQ_PER_SEC = 0;
			$d->TOTAL_STATIC_HITS = 0;
			$d->TOTAL_CACHE_HITS = 0;
			$d->TOTAL_PRIVATE_CACHE_HITS = 0;
			$d->PRIVATE_CACHE_HITS_PER_SEC = 0;
		}
		break;

	case 'EXTAPP':
		$vhost = input_val('vhost');
		$extapp = input_val('extapp');
		if (!empty($stats->vhosts[$vhost]->extapps[$extapp])) {
			$ed = $stats->vhosts[$vhost]->extapps[$extapp];
			$d->VHOST = $ed->vhost;
			$d->TYPE = $ed->type;
			$d->EXTAPP = $ed->extapp;
			$d->CONFIG_MAX_CONN = $ed->config_max_conn;
			$d->EFFECT_MAX_CONN = $ed->effect_max_conn;
			$d->POOL_SIZE = $ed->pool_size;
			$d->INUSE_CONN = $ed->inuse_conn;
			$d->IDLE_CONN = $ed->idle_conn;
			$d->WAITQUEUE_DEPTH = $ed->waitqueue_depth;
			$d->REQ_PER_SEC = $ed->req_per_sec;
			$d->REQ_TOTAL = $ed->req_total;
		} else {
			$d->VHOST = 0;
			$d->TYPE = 0;
			$d->EXTAPP = 0;
			$d->CONFIG_MAX_CONN = 0;
			$d->EFFECT_MAX_CONN = 0;
			$d->POOL_SIZE = 0;
			$d->INUSE_CONN = 0;
			$d->IDLE_CONN = 0;
			$d->WAITQUEUE_DEPTH = 0;
			$d->REQ_PER_SEC = 0;
			$d->REQ_TOTAL = 0;
		}
		break;

	default:
		json_encode('graph_type error');
		return;
}

echo json_encode($d);


Current_dir [ 𝗡𝗢𝗧 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
21 Mar 2024 6.57 PM
root / root
0755
blockip_html.php
0.633 KB
21 Mar 2024 6.57 PM
root / root
0644
graph_html.php
7.04 KB
21 Mar 2024 6.57 PM
root / root
0644
graph_xml.php
3.215 KB
21 Mar 2024 6.57 PM
root / root
0644
homeCont.php
5.298 KB
21 Mar 2024 6.57 PM
root / root
0644
logViewer.php
2.104 KB
21 Mar 2024 6.57 PM
root / root
0644
realtimeReport.php
11.438 KB
21 Mar 2024 6.57 PM
root / root
0644
realtimeReqReport.php
6.892 KB
21 Mar 2024 6.57 PM
root / root
0644
restart.html
0.619 KB
21 Mar 2024 6.57 PM
root / root
0644
serviceMgr.php
2.074 KB
21 Mar 2024 6.57 PM
root / root
0644
verMgrCont.php
3.42 KB
21 Mar 2024 6.57 PM
root / root
0644
verMgrDownload.php
0.513 KB
21 Mar 2024 6.57 PM
root / root
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF