mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update mysql.js
This commit is contained in:
@@ -89,7 +89,7 @@ function runInfo(){
|
||||
}
|
||||
|
||||
// Com_select , Qcache_inserts
|
||||
var cache_size = ((parseInt(rdata.Qcache_hits) / (parseInt(rdata.Qcache_hits) + parseInt(rdata.Com_select))) * 100).toFixed(2) + '%';
|
||||
var cache_size = ((parseInt(rdata.Qcache_hits) / (parseInt(rdata.Qcache_hits) + parseInt(rdata.Qcache_inserts))) * 100).toFixed(2) + '%';
|
||||
if (cache_size == 'NaN%') cache_size = 'OFF';
|
||||
var Con = '<div class="divtable"><table class="table table-hover table-bordered" style="margin-bottom:10px;background-color:#fafafa">\
|
||||
<tbody>\
|
||||
|
||||
Reference in New Issue
Block a user