mirror of
https://github.com/tw93/Mole.git
synced 2026-03-23 17:00:08 +00:00
feat(status): alert on persistent high-cpu processes (#602)
* feat(status): alert on persistent high-cpu processes * refactor(status): keep high-cpu alerts read-only * fix(status): address lint and sudo test regressions --------- Co-authored-by: Tw93 <hitw93@gmail.com>
This commit is contained in:
@@ -210,6 +210,8 @@ Health score is based on CPU, memory, disk, temperature, and I/O load, with colo
|
||||
|
||||
Shortcuts: In `mo status`, press `k` to toggle the cat and save the preference, and `q` to quit.
|
||||
|
||||
When enabled, `mo status` shows a read-only alert banner for processes that stay above the configured CPU threshold for a sustained window. Use `--proc-cpu-threshold`, `--proc-cpu-window`, or `--proc-cpu-alerts=false` to tune or disable it.
|
||||
|
||||
#### Machine-Readable Output
|
||||
|
||||
Both `mo analyze` and `mo status` support a `--json` flag for scripting and automation.
|
||||
|
||||
Reference in New Issue
Block a user