|
|
|
@ -9,18 +9,22 @@ import org.opsli.core.monitor.utils.*;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 系统监控
|
|
|
|
|
* @author 薛佳琪
|
|
|
|
|
*/
|
|
|
|
|
public interface IMonitorService {
|
|
|
|
|
|
|
|
|
|
public Sys getSysInfo() throws Exception;
|
|
|
|
|
Sys getSysInfo() throws Exception;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public CPU getCpuInfo() throws Exception;
|
|
|
|
|
CPU getCpuInfo() throws Exception;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public Mem getMemInfo() throws Exception;
|
|
|
|
|
Mem getMemInfo() throws Exception;
|
|
|
|
|
|
|
|
|
|
public JVM getJVMInfo() throws Exception;
|
|
|
|
|
JVM getJVMInfo() throws Exception;
|
|
|
|
|
|
|
|
|
|
public List<SysFile> getSysFiles() throws Exception;
|
|
|
|
|
List<SysFile> getSysFiles() throws Exception;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|