Searching man systemd(1) for "is-system-running" we see these states: initializing starting running degraded maintenance stopping offline unknown Let's differentiate some more: green (ok) if state is "running", red (error) if the state is unknown to htop or "degraded", yellow (warning) for everything else (incl. "initializing", "starting", "maintenance" & "stopping").main
parent
fc22824666
commit
423eff6267
1 changed files with 5 additions and 1 deletions
Loading…
Reference in new issue