feat: RAM en Go dans popup + version agent dans install.sh
- Popup détail : valeur absolue RAM (Go) affichée à côté du % - install.sh : bannière version agent plus visible à la fin Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -128,7 +128,10 @@ const Popups = (() => {
|
|||||||
<div class="chart-card">
|
<div class="chart-card">
|
||||||
<div class="chart-header">
|
<div class="chart-header">
|
||||||
<div class="chart-label" style="color:var(--blue)"><i class="fa-solid fa-memory"></i>RAM</div>
|
<div class="chart-label" style="color:var(--blue)"><i class="fa-solid fa-memory"></i>RAM</div>
|
||||||
<span class="chart-cur" style="color:var(--blue)">${Grid.fmtPct(metrics?.memory_used && metrics?.memory_total ? metrics.memory_used / metrics.memory_total * 100 : null)}</span>
|
<div style="display:flex;align-items:baseline;gap:5px">
|
||||||
|
<span class="chart-cur" style="color:var(--blue)">${Grid.fmtPct(metrics?.memory_used && metrics?.memory_total ? metrics.memory_used / metrics.memory_total * 100 : null)}</span>
|
||||||
|
<span style="font-family:var(--font-mono);font-size:10px;color:var(--ink-3)">${Grid.fmt(metrics?.memory_used)}</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<svg class="chart-svg" viewBox="0 0 200 52" preserveAspectRatio="none" id="det-mem-chart"></svg>
|
<svg class="chart-svg" viewBox="0 0 200 52" preserveAspectRatio="none" id="det-mem-chart"></svg>
|
||||||
<div class="chart-axis"><span>−30min</span><span>−15min</span><span>now</span></div>
|
<div class="chart-axis"><span>−30min</span><span>−15min</span><span>now</span></div>
|
||||||
|
|||||||
+3
-1
@@ -198,6 +198,8 @@ echo "=== Statut ==="
|
|||||||
systemctl status nanometrics-agent --no-pager || true
|
systemctl status nanometrics-agent --no-pager || true
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
ok "Installation terminée — agent $TAG opérationnel"
|
echo "======================================"
|
||||||
|
echo -e " ${GREEN}✓${NC} Nanometrics Agent ${TAG} installé"
|
||||||
|
echo "======================================"
|
||||||
echo " Config : $CONFIG_FILE"
|
echo " Config : $CONFIG_FILE"
|
||||||
echo " Logs : journalctl -u nanometrics-agent -f"
|
echo " Logs : journalctl -u nanometrics-agent -f"
|
||||||
|
|||||||
Reference in New Issue
Block a user