1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-14 20:41:38 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

修改后端status接口

This commit is contained in:
2022-03-14 23:49:50 +08:00
parent 12a16c078b
commit 2dda314106
4 changed files with 55 additions and 47 deletions

View File

@@ -121,15 +121,15 @@ __必填__|id|integer (int32)
Status Controller
[[_getusingget_1]]
==== 线程CPU占用时间
[[_getsystemloadaverageusingget]]
==== 系统负载
....
GET /status/getProcessCpu
GET /status/getSystemLoadAverage
....
===== 说明
获取服务器当前线程CPU占用时间。此方法通过统计线程CPU占用时间来统计当前进程占用CPU情况
获取服务器当前系统负载
===== 响应
@@ -153,7 +153,7 @@ GET /status/getProcessCpu
====== 请求 path
----
/status/getProcessCpu
/status/getSystemLoadAverage
----