#!/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/,.*//'