############# SHOW ############# echo -e " $(ip4all) $(hddtop) $(tput bold)$(tput setaf 4)Système$(tput sgr0) - OS : $(lsb_release -d | sed -e 's/Description://g' | sed 's/^[ \t]*//') - Kernel : $(uname -srmo) - Uptime : $(template_uptime) - Charge Cpu : $(template_check_cpu) - Utilisation mémoire : $(template_check_memory) - Utilisation Swap : $(template_check_swap) - Nombre de processus : $(ps aux | wc -l) - Utilisateur(s) : $(users | wc -w) - Crons : $(check_cron) " # If reboot is required if [ -f /run/reboot-required ] ; then echo -e "$(tput setaf 1)\tReboot is required$(tput sgr0)" fi