Getting CPU usage
This commit is contained in:
parent
8206630289
commit
1265ca31c5
2 changed files with 49 additions and 7 deletions
14
index.html
14
index.html
|
@ -10,9 +10,15 @@
|
|||
<body>
|
||||
|
||||
<h1>Millics</h1>
|
||||
<p>
|
||||
This is kindof running maybe probs and has kindof no
|
||||
functionality yet.
|
||||
</p>
|
||||
<table>
|
||||
<tr>
|
||||
<td>CPU</td>
|
||||
<td>{{.CpuUsage}} %</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>sysLoad</td>
|
||||
<td>{{.SysLoad}}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue