mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-16 23:22:20 +08:00
修改后端status接口
This commit is contained in:
@@ -740,16 +740,16 @@ table.CodeRay td.code>pre{padding:0}
|
||||
<p>Status Controller</p>
|
||||
</div>
|
||||
<div class="sect3">
|
||||
<h4 id="_getusingget_1">2.2.1. 线程CPU占用时间</h4>
|
||||
<h4 id="_getsystemloadaverageusingget">2.2.1. 系统负载</h4>
|
||||
<div class="literalblock">
|
||||
<div class="content">
|
||||
<pre>GET /status/getProcessCpu</pre>
|
||||
<pre>GET /status/getSystemLoadAverage</pre>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect4">
|
||||
<h5 id="_说明_2">说明</h5>
|
||||
<div class="paragraph">
|
||||
<p>获取服务器当前线程CPU占用时间。此方法通过统计线程CPU占用时间来统计当前进程占用CPU情况。</p>
|
||||
<p>获取服务器当前系统负载。</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sect4">
|
||||
@@ -807,7 +807,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
<h6 id="_请求_path_2">请求 path</h6>
|
||||
<div class="listingblock">
|
||||
<div class="content">
|
||||
<pre>/status/getProcessCpu</pre>
|
||||
<pre>/status/getSystemLoadAverage</pre>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1180,7 +1180,7 @@ table.CodeRay td.code>pre{padding:0}
|
||||
</div>
|
||||
<div id="footer">
|
||||
<div id="footer-text">
|
||||
Last updated 2022-03-14 22:29:06 SGT
|
||||
Last updated 2022-03-14 23:47:49 SGT
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
Reference in New Issue
Block a user