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
SystemMonitorControllergetRealTimeCPUInfo 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic java.util.Map<java.lang.String,java.util.LinkedList<MemoryInfo>> getRealTimeMemoryInfo(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorControllergetRealTimeMemoryInfo 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic double getPercent(java.lang.String nodeID)
throws java.lang.Exception
SystemMonitorControllergetPercent 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic long getMemory(java.lang.String nodeID)
throws java.lang.Exception
SystemMonitorControllergetMemory 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic java.util.List<HistorySessionBean> getCurrentHistorySessionInfo(java.lang.String nodeID) throws java.lang.Exception
SystemMonitorControllergetCurrentHistorySessionInfo 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic java.util.Map<java.lang.String,java.lang.Object> getAllLiveSessionInfo(java.lang.String nodeID,
int timeInterval,
java.lang.String keyword)
throws java.lang.Exception
SystemMonitorControllergetAllLiveSessionInfo 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic int getKillSessionCount(java.lang.String nodeID,
int timeInterval)
throws java.lang.Exception
SystemMonitorControllergetKillSessionCount 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic void killSessionById(java.lang.String nodeID,
java.lang.String[] ids,
java.lang.String username,
java.lang.String ip)
throws java.lang.Exception
SystemMonitorControllerkillSessionById 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic java.util.List<java.util.Map<java.lang.String,java.lang.Object>> getVisitInfoFromSession(java.lang.String nodeID)
throws java.lang.Exception
SystemMonitorControllergetVisitInfoFromSession 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic long getDiskFreeSpace(java.lang.String nodeID)
throws java.lang.Exception
SystemMonitorControllergetDiskFreeSpace 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic long getTmpdirFreeSpace(java.lang.String nodeID)
throws java.lang.Exception
SystemMonitorControllergetTmpdirFreeSpace 在接口中 SystemMonitorControllerjava.lang.Exceptionpublic boolean getTmpdirPrivilege(java.lang.String nodeID)
throws java.lang.Exception
SystemMonitorControllergetTmpdirPrivilege 在接口中 SystemMonitorControllerjava.lang.Exception