feat(shuma): shuma-sysmon — muestreo de CPU/memoria con historial

Lee /proc/stat y /proc/meminfo; calcula uso de CPU (delta entre
muestras) y de memoria; mantiene un History circular para la curva
del monitor. Parseo puro (parse_cpu_stat/parse_meminfo) separado de
la lectura de archivos → testeable sin tocar el sistema.

8 tests. #![forbid(unsafe_code)], cero deps de UI.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
sergio
2026-05-20 18:09:46 +00:00
parent cf337c88d7
commit 7c38a8af4e
4 changed files with 316 additions and 0 deletions
+1
View File
@@ -181,6 +181,7 @@ members = [
"crates/modules/shuma/shuma-core",
"crates/modules/shuma/shuma-intent",
"crates/modules/shuma/shuma-line",
"crates/modules/shuma/shuma-sysmon",
"crates/modules/shuma/shuma-shell-render",
# ============================================================