public class FineSystemMonitorController extends java.lang.Object implements SystemMonitorController
构造器和说明 |
---|
FineSystemMonitorController() |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAllLiveSessionInfo(java.lang.String nodeID,
int timeInterval,
java.lang.String keyword)
根据节点id获取存活session信息
|
java.util.List<HistorySessionBean> |
getCurrentHistorySessionInfo(java.lang.String nodeID)
根据节点id获取session信息
|
long |
getDiskFreeSpace(java.lang.String nodeID)
根据节点id获取对应节点的工程所在磁盘剩余空间
|
static SystemMonitorController |
getInstance() |
int |
getKillSessionCount(java.lang.String nodeID,
int timeInterval)
根据节点id获取{timeInterval}分钟内关闭的session数目
|
long |
getMemory(java.lang.String nodeID)
根据节点id获取内存大小
|
double |
getPercent(java.lang.String nodeID)
根据节点id获取当前内存占用比
|
java.util.Map<java.lang.String,java.util.LinkedList<CPUInfo>> |
getRealTimeCPUInfo(java.lang.String nodeID)
根据节点id获取当前cpu信息
|
java.util.Map<java.lang.String,java.util.LinkedList<MemoryInfo>> |
getRealTimeMemoryInfo(java.lang.String nodeID)
根据节点id获取当前内存信息
|
long |
getTmpdirFreeSpace(java.lang.String nodeID)
根据节点id获取对应节点的临时目录剩余空间
|
boolean |
getTmpdirPrivilege(java.lang.String nodeID)
根据节点id获取对应节点的临时目录权限
|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
getVisitInfoFromSession(java.lang.String nodeID)
根据节点id获取对应节点的模板访问信息
|
void |
killSessionById(java.lang.String nodeID,
java.lang.String[] ids,
java.lang.String username,
java.lang.String ip)
根据节点id关闭对应节点的session
|
public static SystemMonitorController getInstance()
public java.util.Map<java.lang.String,java.util.LinkedList<CPUInfo>> getRealTimeCPUInfo(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getRealTimeCPUInfo
在接口中 SystemMonitorController
java.lang.Exception
public java.util.Map<java.lang.String,java.util.LinkedList<MemoryInfo>> getRealTimeMemoryInfo(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getRealTimeMemoryInfo
在接口中 SystemMonitorController
java.lang.Exception
public double getPercent(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getPercent
在接口中 SystemMonitorController
java.lang.Exception
public long getMemory(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getMemory
在接口中 SystemMonitorController
java.lang.Exception
public java.util.List<HistorySessionBean> getCurrentHistorySessionInfo(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getCurrentHistorySessionInfo
在接口中 SystemMonitorController
java.lang.Exception
public java.util.Map<java.lang.String,java.lang.Object> getAllLiveSessionInfo(java.lang.String nodeID, int timeInterval, java.lang.String keyword) throws java.lang.Exception
SystemMonitorController
getAllLiveSessionInfo
在接口中 SystemMonitorController
java.lang.Exception
public int getKillSessionCount(java.lang.String nodeID, int timeInterval) throws java.lang.Exception
SystemMonitorController
getKillSessionCount
在接口中 SystemMonitorController
java.lang.Exception
public void killSessionById(java.lang.String nodeID, java.lang.String[] ids, java.lang.String username, java.lang.String ip) throws java.lang.Exception
SystemMonitorController
killSessionById
在接口中 SystemMonitorController
java.lang.Exception
public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getVisitInfoFromSession(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getVisitInfoFromSession
在接口中 SystemMonitorController
java.lang.Exception
public long getDiskFreeSpace(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getDiskFreeSpace
在接口中 SystemMonitorController
java.lang.Exception
public long getTmpdirFreeSpace(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getTmpdirFreeSpace
在接口中 SystemMonitorController
java.lang.Exception
public boolean getTmpdirPrivilege(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorController
getTmpdirPrivilege
在接口中 SystemMonitorController
java.lang.Exception