活跃IP统计字段由流量改为Linknum——连接数
This commit is contained in:
@@ -267,8 +267,8 @@ public class DashboardController extends BaseController{
|
||||
if(o1==o2&&o1==null){
|
||||
return 0;
|
||||
}
|
||||
Long ob1 = o1.getC2sByteLen()+o1.getS2cByteLen();
|
||||
Long ob2 = o2.getC2sByteLen()+o2.getS2cByteLen();
|
||||
Long ob1 = o1.getLinkNum();
|
||||
Long ob2 = o2.getLinkNum();
|
||||
return -(ob1).compareTo(ob2);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -282,11 +282,11 @@
|
||||
var data=new Array();
|
||||
var xData=new Array();
|
||||
var drillData=new Array();
|
||||
var unit="bytes";
|
||||
var unit="Link Times";
|
||||
$(rs).each(function(i, d) {
|
||||
var inoctetsNum=d.linkNum;
|
||||
unit=changeUnit(inoctetsNum);
|
||||
inoctetsNum=changeNum(inoctetsNum);
|
||||
// unit=changeUnit(inoctetsNum);
|
||||
// inoctetsNum=changeNum(inoctetsNum);
|
||||
/*var pktNum=new Array();
|
||||
var byteLen=new Array();*/
|
||||
xData.push(d.ipAddr);
|
||||
|
||||
Reference in New Issue
Block a user