mirror of
https://github.com//cppla/ServerStatus
synced 2025-07-16 23:12:21 +08:00
tupd action update
This commit is contained in:
parent
c2f8c206f7
commit
139197ee72
@ -144,14 +144,14 @@ int CMain::HandleMessage(int ClientNetID, char *pMessage)
|
||||
pClient->m_Stats.m_ping_189 = rStart["ping_189"].u.dbl;
|
||||
if(rStart["ping_10086"].type)
|
||||
pClient->m_Stats.m_ping_10086 = rStart["ping_10086"].u.dbl;
|
||||
if(rStart["tcp_count"].type)
|
||||
pClient->m_Stats.m_tcpCount = rStart["tcp_count"].u.dbl;
|
||||
if(rStart["udp_count"].type)
|
||||
pClient->m_Stats.m_udpCount = rStart["udp_count"].u.dbl;
|
||||
if(rStart["process_count"].type)
|
||||
pClient->m_Stats.m_processCount = rStart["process_count"].u.dbl;
|
||||
if(rStart["thread_count"].type)
|
||||
pClient->m_Stats.m_threadCount = rStart["thread_count"].u.dbl;
|
||||
if(rStart["tcp"].type)
|
||||
pClient->m_Stats.m_tcpCount = rStart["tcp"].u.integer;
|
||||
if(rStart["udp"].type)
|
||||
pClient->m_Stats.m_udpCount = rStart["udp"].u.integer;
|
||||
if(rStart["process"].type)
|
||||
pClient->m_Stats.m_processCount = rStart["process"].u.integer;
|
||||
if(rStart["thread"].type)
|
||||
pClient->m_Stats.m_threadCount = rStart["thread"].u.integer;
|
||||
if(rStart["network_rx"].type)
|
||||
pClient->m_Stats.m_NetworkRx = rStart["network_rx"].u.integer;
|
||||
if(rStart["network_tx"].type)
|
||||
|
@ -103,6 +103,7 @@ function uptime() {
|
||||
"<div id=\"expand_mem\">加载中</div>" +
|
||||
"<div id=\"expand_swap\">加载中</div>" +
|
||||
"<div id=\"expand_hdd\">加载中</div>" +
|
||||
"<div id=\"expand_tupd\">加载中</div>" +
|
||||
"<div id=\"expand_custom\">加载中</div>" +
|
||||
"</div></td></tr>"
|
||||
);
|
||||
@ -276,7 +277,7 @@ function uptime() {
|
||||
// delay time
|
||||
|
||||
// tcp, udp, process, thread count
|
||||
ExpandRow[0].children["expand_tupd"].innerHTML = "TUPD: " + result.servers[i].tcp + " / " + result.servers[i].udp + " / " + result.servers[i].process+ " / " + result.servers[i].thread;
|
||||
ExpandRow[0].children["expand_tupd"].innerHTML = "TCP/UDP/进/线: " + result.servers[i].tcp_count + " / " + result.servers[i].udp_count + " / " + result.servers[i].process_count+ " / " + result.servers[i].thread_count;
|
||||
|
||||
|
||||
// ping
|
||||
|
Loading…
x
Reference in New Issue
Block a user