Commit Graph

5 Commits

Author SHA1 Message Date
Egutierrez 5b1e236988 feat: gráficos de área en la pestaña Sistema
graph() admite ahora relleno translúcido por serie (s.fill). Las nueve
gráficas de Sistema usan área para mejor legibilidad; la pestaña Red
mantiene líneas porque superpone dos series (down/up).
2026-06-02 21:43:47 +02:00
Egutierrez 8ecf787094 feat: reordenar pestañas (Sistema por defecto) + stats de red
- Orden de pestañas: Sistema, Red, Docker. Sistema es la pestaña por
  defecto al arrancar.
- Pestaña Red, bajo el gráfico:
  - Paquetes/s por protocolo (TCP/UDP/ICMP, in/out) calculados como
    delta de los contadores de /proc/net/snmp.
  - Top 4 hosts remotos por número de conexiones establecidas (ss),
    excluyendo loopback.
- Botones de la pestaña Red reubicados (BTN_Y) y el hook de ratón
  ajustado al nuevo índice de pestaña.
2026-06-02 21:25:23 +02:00
Egutierrez 6d7a3a5d6e fix: boton nethogs usa el terminal por defecto del sistema (kitty)
Reemplaza el xfce4-terminal hardcodeado por x-terminal-emulator -e,
que respeta el terminal por defecto (configurado a kitty). Mantiene la
ventana abierta tras salir de nethogs para poder leer la salida.
2026-06-02 21:16:26 +02:00
Egutierrez effb1c08f7 feat: portar panel Sistema del widget previo + servicio de captura
Pestaña Sistema:
- Reproduce las 9 gráficas del widget anterior dibujadas con Cairo
  sobre históricos en memoria: CPU, RAM, CPU temp, GPU, GPU temp,
  VRAM, red (down/up superpuestos) y disk I/O, más las barras de uso
  de los discos /, /mnt/1tb, /mnt/2tb y /mnt/16tb.
- metric.sh portado (nvidia-smi + coretemp hwmon) para temperaturas
  y métricas de GPU.
- Paleta Nord, igual que el panel original.

Widget redimensionado a 290x545 para acomodar el panel Sistema.

Servicio de captura (service/):
- packet-capture.service: dumpcap en ring buffer (~10 min, 10 archivos
  de hasta 60s/50MB, tope ~500MB) escribiendo en /var/log/pktcap.
- install-capture.sh: crea el directorio, instala y activa el unit.

El botón Wireshark abre ahora el .pcapng más reciente del buffer.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 21:01:17 +02:00
Egutierrez 5ad4c0d901 feat: scaffold conky_widget desktop monitor
Conky (X11 + Lua + Cairo) desktop widget with three clickable tabs
(Red / Sistema / Docker) rendered entirely with Cairo:

- Red: live down/up speed for enp5s0, 60s history graph, active
  connections count, totals, and launcher buttons for Wireshark,
  ntopng and nethogs (with notify-send fallback when missing).
- Sistema: total CPU + per-core bars, RAM, swap, root disk usage,
  temperature, load average and uptime.
- Docker: running/total container count and active container names
  (read without sudo).

Includes install.sh (symlink into ~/.config/conky + XFCE autostart),
launch.sh (tool launcher with missing-binary fallback) and app.md
with e2e_checks. Positioned top-right of the primary monitor
(xinerama_head 0), configurable.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-02 20:46:54 +02:00