|
|
|
@ -3,7 +3,6 @@ package com.manage.service.ipml;
|
|
|
|
|
import com.manage.dao.Power_UserMapper;
|
|
|
|
|
import com.manage.service.cache.CacheManager;
|
|
|
|
|
import com.manage.util.SigarUtils;
|
|
|
|
|
import org.hyperic.sigar.*;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
@ -171,7 +170,7 @@ public class PageServiceImpl {
|
|
|
|
|
return returnMap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public int getEcharts4() throws Exception{
|
|
|
|
|
/*public int getEcharts4() throws Exception{
|
|
|
|
|
SigarUtils s = new SigarUtils();
|
|
|
|
|
s.initSigar();
|
|
|
|
|
int cpuCount = cpu();
|
|
|
|
@ -239,7 +238,7 @@ public class PageServiceImpl {
|
|
|
|
|
list.add(totalPhysicalMemorySize);
|
|
|
|
|
list.add(user);
|
|
|
|
|
return list;
|
|
|
|
|
}
|
|
|
|
|
}*/
|
|
|
|
|
|
|
|
|
|
//获取当月所有天
|
|
|
|
|
/**
|
|
|
|
|