Ajout de fichiers Tech.domo91.fr

This commit is contained in:
2025-05-30 20:19:34 +02:00
parent d152220beb
commit e7de7f1c60

View File

@@ -0,0 +1,12 @@
#!/bin/bash
echo "===== STATUS DES APPS SUPERVISÉES ====="
supervisorctl status
echo ""
echo "===== UTILISATION MÉMOIRE DES PROCESS STREAMLIT ====="
ps aux | grep streamlit | grep -v grep | awk '{printf "%-8s %-6s %-6s %-6s %s\n", $1, $2, $4, $3, $11" "$12" "$13" "$14" "$15" "$16" "$17" "$18}' | awk 'BEGIN { print "USER PID %MEM %CPU CMD" } { print }'
echo ""
echo "===== PORTS UTILISÉS PAR STREAMLIT ====="
ss -tlnp | grep streamlit | awk '{print $4 " <- " $7}' | sed 's/.*://;s/,.*//'