Ce qui donne :

#!/bin/bash
# monitoring serveur
# par Laurent http://www.cybermonde.org
# dernière version 08-04-2009

# variables=commandes
# adresse IP
monitoring_ip=`ifconfig eth0 | grep Bcast | cut -d' ' -f 12 | cut -c6-99`
# date courante
monitoring_date=`date`
# nombre de process sc_serv
monitoring_scserv=`top -u mon_user -n 1 -b | grep -c sc_serv`
# nombre de process streamTranscode
monitoring_streamtranscode=`top -u mon_user -n 1 -b | grep -c streamTranscode`
# espace disque - pourcentage occupé
monitoring_espacedisque=`df -h | grep /dev/sda1 | cut -d' ' -f 21`
# mémoire - quantité libre
monitoring_memoire=`free -m | grep Mem: | cut -d' ' -f 25`
# uptime
monitoring_uptime=`uptime | cut -c13-25`

# dans le dossier user
cd /home/mon_user/

# création du flux RSS
echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>" > monitoring.xml
echo "<rss version=\"2.0\">" >> monitoring.xml
echo "<channel>" >> monitoring.xml
echo "<title>Relais MP3</title>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "<description>Serveur d'enregistrement - Etat du systeme</description>" >> monitoring.xml
echo "<language>fr-be</language>" >> monitoring.xml
echo "<managingEditor>webmaster@cybermonde.org</managingEditor>" >> monitoring.xml
echo "<webMaster>webmaster@cybermonde.org</webMaster>" >> monitoring.xml
echo "<lastBuildDate>$monitoring_date</lastBuildDate>" >> monitoring.xml
echo "<item>" >> monitoring.xml
echo "<title>Genere le : $monitoring_date</title>" >> monitoring.xml
echo "<description></description>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "</item>" >> monitoring.xml
echo "<item>" >> monitoring.xml
echo "<title>Etat du processus sc_serv : $monitoring_scserv</title>" >> monitoring.xml
echo "<description></description>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "</item>" >> monitoring.xml
echo "<item>" >> monitoring.xml
echo "<title>Etat du processus streamTranscode : $monitoring_streamtranscode</title>" >> monitoring.xml
echo "<description></description>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "</item>" >> monitoring.xml
echo "<item>" >> monitoring.xml
echo "<title>Espace disque occupe : $monitoring_espacedisque</title>" >> monitoring.xml
echo "<description></description>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "</item>" >> monitoring.xml
echo "<item>" >> monitoring.xml
echo "<title>Memoire disponible : $monitoring_memoire</title>" >> monitoring.xml
echo "<description></description>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "</item>" >> monitoring.xml
echo "<item>" >> monitoring.xml
echo "<title>Uptime : $monitoring_uptime</title>" >> monitoring.xml
echo "<description></description>" >> monitoring.xml
echo "<link>http://$monitoring_ip</link>" >> monitoring.xml
echo "</item>" >> monitoring.xml
echo "</channel>" >> monitoring.xml
echo "</rss>" >> monitoring.xml

# copie du fichier xml vers la zone publique
cp /home/mon_user/monitoring.xml /var/www/download

A lancer par exemple via un job cron, tous les jours à ??h.