mirror of
https://github.com/rls-moe/nyx
synced 2024-12-27 12:17:16 +00:00
125 lines
3.6 KiB
HTML
125 lines
3.6 KiB
HTML
|
<!doctype html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>{{.Config.Site.Title}} Status</title>
|
||
|
<link rel="stylesheet" href="/@/style.css">
|
||
|
<link rel="stylesheet" href="/@/custom.css">
|
||
|
<link rel="stylesheet" href="/@/admin.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<div class="banner logo">
|
||
|
<h2>Runtime Statistics</h2>
|
||
|
</div>
|
||
|
<br/>
|
||
|
<br/>
|
||
|
<div class="postarea">
|
||
|
<form id="postform1" action="/admin/new_board.sh" method="POST">
|
||
|
<table>
|
||
|
<tbody>
|
||
|
<tr><td class="postblock">
|
||
|
Start Time
|
||
|
</td><td>
|
||
|
{{.Uptime.human}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Uptime (Precise)
|
||
|
</td><td>
|
||
|
{{ .Uptime.hours | printf "%.4f"}} hours<br/>
|
||
|
{{ .Uptime.seconds | printf "%.4f"}} seconds
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Num. CPU
|
||
|
</td><td>
|
||
|
{{.GC.numcpu}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Num. GoRoutines
|
||
|
</td><td>
|
||
|
{{.GC.numgor}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Go Version<br/>
|
||
|
Arch/OS/Compiler
|
||
|
</td><td>
|
||
|
{{.GC.version}}<br/>
|
||
|
{{.GC.arch}} / {{.GC.os}} / {{.GC.compiler}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Current Allocs
|
||
|
</td><td>
|
||
|
{{.GC.memory.alloc}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Cumulative Allocs
|
||
|
</td><td>
|
||
|
{{.GC.memory.calloc}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Used Sys Memory
|
||
|
</td><td>
|
||
|
{{.GC.memory.sysmem}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Pointer Lookups
|
||
|
</td><td>
|
||
|
{{.GC.memory.lookups}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
MAllocs
|
||
|
</td><td>
|
||
|
{{.GC.memory.mallocs}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
MFrees
|
||
|
</td><td>
|
||
|
{{.GC.memory.frees}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Live Objects
|
||
|
</td><td>
|
||
|
{{.GC.memory.liveobj}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Heap Allocated
|
||
|
</td><td>
|
||
|
{{.GC.memory.heapalloc}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
Heap Released
|
||
|
</td><td>
|
||
|
{{.GC.memory.heaprelease}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
GC Metadata
|
||
|
</td><td>
|
||
|
{{.GC.memory.gcmeta}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
GC Pause
|
||
|
</td><td>
|
||
|
{{.GC.memory.pause}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
GC Invokations
|
||
|
</td><td>
|
||
|
{{.GC.memory.gctimes}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
GC Forced
|
||
|
</td><td>
|
||
|
{{.GC.memory.fgctimes}}
|
||
|
</td></tr>
|
||
|
<tr><td class="postblock">
|
||
|
GC CPU Usage
|
||
|
</td><td>
|
||
|
{{.GC.memory.cpufrac}}
|
||
|
</td></tr>
|
||
|
</tbody>
|
||
|
</table>
|
||
|
</form>
|
||
|
</div>
|
||
|
<br clear="left" /><hr />
|
||
|
</body>
|
||
|
</html>
|