- {n.cpuUsagePercent !== null ? `${n.cpuUsagePercent.toFixed(1)}%` : "—"}
- {n.cpuCores ?
+
+
Uptime
+
{formatUptime(n.uptime)}
- {n.loadAverage && (
-
Load: {n.loadAverage.map((l) => l.toFixed(2)).join(", ")}
+
+
CPU
+
+ {n.cpuUsagePercent !== null ? `${n.cpuUsagePercent.toFixed(1)}%` : "—"}
+ {n.cpuCores ? ({n.cpuCores} cores) : null}
+
+ {n.loadAverage && (
+
Load: {n.loadAverage.map((l) => l.toFixed(2)).join(", ")}
+ )}
+
+
+
Memory
+
+ {formatBytes(n.memUsedBytes)} / {formatBytes(n.memTotalBytes)}
+
+ {usageBar(n.memUsedBytes, n.memTotalBytes)}
+
+ {!!n.swapTotalBytes && (
+
+
Swap
+
+ {formatBytes(n.swapUsedBytes)} / {formatBytes(n.swapTotalBytes)}
+
+ {usageBar(n.swapUsedBytes, n.swapTotalBytes)}
+
)}
-
Memory
-
- {formatBytes(n.memUsedBytes)} / {formatBytes(n.memTotalBytes)}
-
- {usageBar(n.memUsedBytes, n.memTotalBytes)}
-
- {!!n.swapTotalBytes && (
-
-
Swap
-
- {formatBytes(n.swapUsedBytes)} / {formatBytes(n.swapTotalBytes)}
-
- {usageBar(n.swapUsedBytes, n.swapTotalBytes)}
-