mirror of
https://github.com//cppla/ServerStatus
synced 2025-12-13 21:52:12 +08:00
beta
This commit is contained in:
@@ -87,6 +87,7 @@
|
||||
<th id="cpu">核芯</th>
|
||||
<th id="ram">内存</th>
|
||||
<th id="hdd">硬盘</th>
|
||||
<th id="io">IO(r/w)</th>
|
||||
<th id="ping">联通|电信|移动</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
@@ -238,6 +238,9 @@ function uptime() {
|
||||
TableRow.children["hdd"].children[0].children[0].innerHTML = HDD + "%";
|
||||
ExpandRow[0].children["expand_hdd"].innerHTML = "硬盘: " + bytesToSize(result.servers[i].hdd_used*1024*1024, 2) + " / " + bytesToSize(result.servers[i].hdd_total*1024*1024, 2);
|
||||
|
||||
//IO
|
||||
TableRow.children["io"].innerHTML = bytesToSize(result.servers[i].io_read, 2) + "💿" + bytesToSize(result.servers[i].io_write, 2);
|
||||
|
||||
// delay time
|
||||
|
||||
// tcp, udp, process, thread count
|
||||
|
||||
Reference in New Issue
Block a user