Repository navigation
Operations
dev1lsconf edited this page Nov 28, 2026
·
1 revision
tinytop --config /ruta/config.toml
tinytop --check-config --deep --config /ruta/config.toml
tinytop --tui --config /ruta/config.tomlDashboard: http://<bind>:<port> (default http://localhost:9090).
Plantilla: packaging/systemd/tinytop.service.
sudo systemctl daemon-reload
sudo systemctl enable --now tinytop
sudo systemctl status tinytop
sudo systemctl reload tinytop # SIGHUPPlantillas en packaging/bsd/:
- FreeBSD:
tinytop.rc.freebsd - OpenBSD:
tinytop.rc.openbsd - NetBSD:
tinytop.rc.netbsd
- SQLite en WAL; crea
.db,.db-wal,.db-shm. - El usuario del proceso debe poder escribir en el directorio de
db_path. - Usa
db_pathabsoluto en servicios. - Retención/pruning por
retention_hours. - Rollups/downsampling para rangos largos.
- Unix:
SIGHUPrecarga configuración (campos soportados). - Otros entornos: reiniciar el proceso.
- Auth opcional por token Bearer/
X-API-Keyo Basic. -
allow_query_token=falsepor defecto (recomendado). - Sin auth, exponer solo en red confiable o detrás de reverse proxy con TLS.
-
/api/configredacta secretos. - Dashboard con CSP endurecida y assets propios.
| Síntoma | Acción |
|---|---|
| Config inválida | tinytop --check-config [--deep] --config ... |
Sin datos / starting
|
Esperar interval_seconds, revisar /api/health y logs, verificar db_path escribible |
| DB no se crea / readonly | Permisos de directorio, ruta absoluta, usuario del servicio |
| 401/403 | Verificar auth/token/cabeceras; no usar ?token= salvo legacy explícito |
ping/cert TLS sin datos |
Instalar ping/openssl (best-effort) |
| Cambios config no aplican |
SIGHUP en Unix o reiniciar |
| Notificaciones no llegan | Validar credenciales/url/topic, conectividad, cooldown y transiciones |
| TUI no inicia | Requiere TTY interactiva |
| Binario *BSD no corre |
ldd ./tinytop; instalar SQLite/CA; compilar nativamente si hay mismatch ABI/soname |
TinyTop usa tracing. Controla verbosidad con RUST_LOG, por ejemplo:
RUST_LOG=info,tinytop=debug tinytop --config /ruta/config.tomlTinyTop Wiki
Repo