mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
server-status: show correct statm value
This commit is contained in:
parent
15a0e543f4
commit
58ff44297c
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function ws_open_server_status()
|
|||
if (jso.i.statm) {
|
||||
var sm = jso.i.statm.split(" ");
|
||||
s += ", <span class=\"sn\">Virt stack + heap Usage:</span> <span class=\"v\">" +
|
||||
humanize(parseInt(sm[0], 10) * 4096) + "B</span>";
|
||||
humanize(parseInt(sm[5], 10) * 4096) + "B</span>";
|
||||
}
|
||||
s += ", <span class=\"sn\">lws heap usage:</span> <span class=\"v\">" +
|
||||
humanize(jso.i.heap) + "B</span>";
|
||||
|
|
Loading…
Add table
Reference in a new issue