@RestController(value="dev-system") @RequestMapping(value="/dev/system/info") public class SystemInfoController extends BaseController
request, response| 构造器和说明 |
|---|
SystemInfoController() |
| 限定符和类型 | 方法和说明 |
|---|---|
ApiResult<Map<String,Object>> |
getInfo()
获取详细的系统参数信息,包括操作系统、Java环境、硬件配置及运行时间等
|
ApiResult |
getRateInfo()
获取系统的各项使用率信息(CPU、内存、磁盘、网络)
|
error, error, fail, fail, fail, getLoginID, getLoginName, getLoginOrgID, getLoginOrgName, getLoginUser, getNickname, getTenantId, getUserName, getUserNo, i18n, i18n, isAdministrator, isDeveloper, limit, offset, ok, ok, response, success, success, success, success, validateToken@GetMapping(value="/getRateInfo") @Permission(value="ADMIN") public ApiResult getRateInfo() throws InterruptedException
InterruptedException - 当线程被中断时抛出异常@GetMapping(value="/getInfo") @Permission(value="ADMIN") public ApiResult<Map<String,Object>> getInfo() throws InterruptedException
InterruptedException - 当线程被中断时抛出异常Copyright © 2026. All rights reserved.