|
|
|
@ -34,7 +34,7 @@ public class MonitorController {
|
|
|
|
|
* 查询服务器信息
|
|
|
|
|
* @return ResultVo
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system_monitor_select")
|
|
|
|
|
@RequiresPermissions("devops_sysmonitor_select")
|
|
|
|
|
@RequestMapping("/getSystemInfo")
|
|
|
|
|
@ApiOperation(value = "当前服务器信息", notes = "当前服务器信息")
|
|
|
|
|
public ResultVo<?> getSystemInfo() {
|
|
|
|
@ -56,7 +56,7 @@ public class MonitorController {
|
|
|
|
|
* 查询CPU信息
|
|
|
|
|
* @return ResultVo
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system_monitor_select")
|
|
|
|
|
@RequiresPermissions("devops_sysmonitor_select")
|
|
|
|
|
@RequestMapping("/getCpuInfo")
|
|
|
|
|
@ApiOperation(value = "当前CPU信息", notes = "当前CPU信息")
|
|
|
|
|
public ResultVo<?> getCpuInfo() {
|
|
|
|
@ -68,7 +68,7 @@ public class MonitorController {
|
|
|
|
|
* 查询内存信息
|
|
|
|
|
* @return ResultVo
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system_monitor_select")
|
|
|
|
|
@RequiresPermissions("devops_sysmonitor_select")
|
|
|
|
|
@RequestMapping("/getMemInfo")
|
|
|
|
|
@ApiOperation(value = "当前内存信息", notes = "当前内存信息")
|
|
|
|
|
public ResultVo<?> getMemInfo() {
|
|
|
|
@ -80,7 +80,7 @@ public class MonitorController {
|
|
|
|
|
* 查询JVM信息
|
|
|
|
|
* @return ResultVo
|
|
|
|
|
*/
|
|
|
|
|
@RequiresPermissions("system_monitor_select")
|
|
|
|
|
@RequiresPermissions("devops_sysmonitor_select")
|
|
|
|
|
@RequestMapping("/getJVMInfo")
|
|
|
|
|
@ApiOperation(value = "当前JVM信息", notes = "当前JVM信息")
|
|
|
|
|
public ResultVo<?> getJVMInfo() {
|
|
|
|
|