" . $JScode . "\n"; } function js_var($vars) { $JScode = ''; foreach ($vars as $k => $v) { $JScode .= "var $k='$v';"; } echo '\n"; } $graph_type = input_val('gtype'); $jsvars = ['graph_type' => $graph_type]; switch ($graph_type) { case 'Server': $title = 'Server'; break; case 'VH': $vhost = input_val('vhost'); $jsvars['vhost'] = $vhost; $title = "VHost $vhost"; break; case 'EXTAPP': $vhost = input_val('vhost'); $extapp = input_val('extapp'); $jsvars['vhost'] = $vhost; $jsvars['extapp'] = $extapp; $title = ($vhost == '_Server') ? 'Server Level' : "VHost $vhost"; $title .= " -> $extapp"; break; default: die('illegal access'); } $jsvars['graph_title'] = $title; js_var($jsvars); echo GUI::header(); ?>
Real-Time Statistics
Requests in Processing:0
Requests/Sec:0
Total Requests:0
Total Static Hits:00 Hits/Sec
Total Public Cache Hits:00 Hits/Sec
Total Private Cache Hits:00 Hits/Sec
Free Conn:0
HTTP Used:0
Max Conn:0
Free SSL Conn:0
HTTPS Used:0
Max SSL Conn:0
Requests in Processing:0
Requests/Sec:0
Total Requests:0
Total Static Hits:00 Hits/Sec
Total Public Cache Hits:00 Hits/Sec
Total Private Cache Hits:00 Hits/Sec
ExtApp Processes:0
EAProc In Use:0
EAProc Idle:0
EAProc WaitQ:0
EAProc Req/Sec:0
  
Max Conn:0
Effective Max Conn:0
Pool:0
In Use:0
Idle:0
WaitQ:0
Req/Sec:0