Hallo
hier laeuft aus den Ports sntop.
Jedesmal wenn dieses Porgramm sein Alarmscript startet, bleibt hinterher
eine Shell als Zombie haengen :-(
xx(at)isi-gate[~]<102>> ps -aux | grep Z
USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND
admin 61149 0.0 0.0 0 0 v0 Z 12:09PM 0:00.00 (sh)
Wo bin ich blind;-))? Was ist an diesem Script falsch?
----------------------------schnipp----------------------------------------------------------------
xx(at)isi-gate[~]<103>>less alarm.sh
#!/bin/sh
OUTFILE=/var/log/sntop.log
if [ $3 = "DOWN" ]; then
echo "sntop detected at `date` that $1 [$2] went $3" | mail -s "[sntop]
Host Down!" admin
fi
echo "sntop: `date`: $1 went $3" >> ${OUTFILE}
----------------------schnapp---------------------------------------------------------------------
Gruesse Dieter
-- "Herr Richter! Ich habe den Link auf http://www.whitehouse.gov eingeschaltet, als das eine ganz nomale Site war. Das dort jetzt zu zu Voelkerrechtsverletzungen, Angriffskrieg und Massenmord aufgerufen wird, habe ich wirklich nicht gewusst!!! To Unsubscribe: send mail to majordomo(at)de.FreeBSD.org with "unsubscribe de-bsd-questions" in the body of the messageReceived on Wed 26 Mar 2003 - 18:04:11 CET