Edit D:\rfid\libsystem\page\parameter\js\sys_serverm.js
$(function(){initLicenseInfo()});function initLicenseInfo(){var a=base_path+"sys/common/getSystemInfo.do";var b={};$.post(a,b,function(h){var j=h.rows[0];var e="";e+="<tr>";e+='<td class="div-tr-td" style="width: 120px;">?????</td>';e+="<td >"+j.UserName+"</td>";e+='<td class="div-tr-td" >??????</td>';e+="<td >"+j.URL+"</td>";e+=' <td class="div-tr-td" >????????????</td>';e+=" <td >"+j.MaxActive+"</td>";e+=' <td class="div-tr-td" >???????????</td>';e+="<td >"+j.PoolingCount+"</td>";e+="<tr>";e+="</tr>";e+=' <td class="div-tr-td" >?????????</td>';e+=" <td >"+j.ActiveCount+"</td>";e+=' <td class="div-tr-td" >???sql???</td>';e+=" <td >"+j.ExecuteCount+"</td>";e+='<td class="div-tr-td" ></td>';e+="<td ></td>";e+='<td class="div-tr-td" ></td>';e+="<td ></td>";e+="</tr>";$(".libsys-html").html(e);e="";var c=j.disk;e+="<tr>";e+='<td class="div-tr-td" >CPU??????</td>';e+="<td >"+j.cpu+"</td>";e+=' <td class="div-tr-td" >?????</td>';e+="<td >"+j.memery.total_memory+"</td>";e+=' <td class="div-tr-td" >??????</td>';e+=" <td >"+j.memery.free_memory+"</td>";e+=' <td class="div-tr-td" >?????</td>';e+=" <td >"+j.memery.rate+"</td>";e+="</tr>";e+="<tr>";e+='<td class="div-tr-td" >JAVA???</td>';e+="<td>"+j.JavaVersion+"</td>";e+='<td class="div-tr-td" >?????????</td>';e+='<td colspan="5">'+j.StartTime+"</td>";e+="</tr>";for(var d=0;d<c.length;d++){var g=c[d];var f="";if(d==(c.length-1)){f='style="border: 0;"'}e+="<tr>";e+='<td class="div-tr-td" '+f+">???</td>";e+="<td "+f+">"+g.name+"</td>";e+='<td class="div-tr-td" '+f+">?????</td>";e+=" <td "+f+">"+g.total_space+"</td>";e+='<td class="div-tr-td" '+f+">??????</td>";e+="<td "+f+">"+g.free_space+"</td>";e+='<td class="div-tr-td" '+f+"></td>";e+="<td "+f+"></td>";e+="</tr>"}$(".disk-html").html(e);chartFunByServerm(j)},"json")}function chartFunByServerm(a){cpuChartHandler(a);diskChartHandler(a)}function diskChartHandler(j){var g=echarts.init(document.getElementById("diskChart"),"macarons");var d=[];var c=[];var b=[];var h=j.disk;for(var e=0;e<h.length;e++){var a=h[e];d.push(a.name);c.push(a.total_space.replace("GB",""));b.push(a.free_space.replace("GB",""))}var f={title:{text:"???????????????"},tooltip:{trigger:"axis"},legend:{data:["?????","??????"]},calculable:true,xAxis:[{type:"category",data:d}],yAxis:[{type:"value"}],series:[{name:"?????",type:"bar",data:c,markPoint:{data:[{type:"max",name:"??????"},{type:"min",name:"??????"}]},markLine:{data:[{type:"average",name:"?????"}]}},{name:"??????",type:"bar",data:b,markPoint:{data:[{name:"?????",value:182.2,xAxis:7,yAxis:183,symbolSize:18},{name:"?????",value:2.3,xAxis:11,yAxis:3}]},markLine:{data:[{type:"average",name:"?????"}]}}]};g.setOption(f)}function cpuChartHandler(e){var b=e.memery.total_memory.replace("GB","");var d=e.memery.free_memory.replace("GB","");var a=echarts.init(document.getElementById("cpuChart"),"macarons");var c={title:{text:"???????????????",subtext:"?????"+e.memery.rate,x:"center"},tooltip:{trigger:"item",formatter:"{a} <br/>{b} : {c} ({d}%)"},legend:{orient:"vertical",x:"left",data:["?????","??????"]},calculable:true,series:[{name:"?????????",type:"pie",radius:"55%",center:["50%","60%"],data:[{value:b,name:"?????"},{value:d,name:"??????"}]}]};a.setOption(c)};
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de