Skip to content

Commit

Permalink
show sys info as list
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Oct 25, 2021
1 parent 31bba14 commit ceadeec
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions static/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,14 @@ <h2>
<div class="header">
System Info
</div>
<p>
<span> Go [[.Runtime]], </span>
<span> goroutines {{ state.Stats.System.goRoutines }}, </span>
<span> gomem {{ state.Stats.System.goMemory | bytes }}, </span>
<span> cpu {{ state.Stats.System.cpu | round }}%, </span>
<span> mem {{ state.Stats.System.memUsedPercent | round }}%, </span>
<span> disk {{ state.Stats.System.diskUsedPercent | round }}% </span>
</p>
<ul>
<li> Build: <b>{{ "[[.Runtime]]" }} </b></li>
<li> GoRoutines: <b>{{ state.Stats.System.goRoutines }}</b></li>
<li> GoMEM: <b>{{ state.Stats.System.goMemory | bytes }}</b></li>
<li> CPU Usage: <b>{{ state.Stats.System.cpu | round }}%</b></li>
<li> Sys Memory: <b>{{ state.Stats.System.memUsedPercent | round }}%</b></li>
<li> Disk Used: <b>{{ state.Stats.System.diskUsedPercent | round }}%</b></li>
</ul>
<div class="header"> Online Users </div>
<ul ng-repeat="(k,_) in state.Users ">
<li>{{ k }}</li>
Expand Down

0 comments on commit ceadeec

Please sign in to comment.