diff --git a/ml/monitor.html b/ml/monitor.html index 99fd25a..4bc8a65 100644 --- a/ml/monitor.html +++ b/ml/monitor.html @@ -557,13 +557,17 @@ function renderStatus(s) { }).join(hr) : ''; const cpuBlk = CP.n ? (() => { const tot = CP.total ?? 0, C = 2 * Math.PI * 50, col = tot > 85 ? css('--bad') : tot > 60 ? css('--warn') : css('--ok'); - const bars = (CP.per || []).map((v, i) => `
`).join(''); + const ct = CP.coreT || [], ctMax = ct.length ? Math.max(...ct) : null; + const tcol = v => v > 98 ? css('--bad') : v > 90 ? css('--warn') : css('--c6'); + const bars = (CP.per || []).map((v, i) => ``).join(''); return `