+
+
+
+
<%= n.uptime %>
+
UPTIME
+
+
+
<%= n.cpuPct %>%
+
CPU USAGE
+
+
+
+
Load Average
+
+
+
<%= n.load[0].toFixed(2) %>
+
1 MIN
+
+
+
<%= n.load[1].toFixed(2) %>
+
5 MIN
+
+
+
<%= n.load[2].toFixed(2) %>
+
15 MIN
+
+
+
+
Memory
+
+
+ <%= n.ram.used %> used
+ <%= n.ram.pct %>% of <%= n.ram.total %>
+
+
+
Disk
+
+
+ <%= n.disk.used %> used
+ <%= n.disk.pct %>% of <%= n.disk.total %>
+
+
+
Temperatures
+ <% if (n.temps && Object.keys(n.temps).length > 0) { %>
+ <% Object.entries(n.temps).forEach(function([key, t]) { %>
+ <% const cls = t.c >= 85 ? 'temp-crit' : t.c >= 70 ? 'temp-hot' : t.c >= 55 ? 'temp-warm' : 'temp-ok'; %>
+
+
<%= key %>
+
+ <%= t.c %>°C
+ <%= t.f %>°F
+
+
+ <% }); %>
+ <% } else { %>
+
No sensor data
+ <% } %>
+
+