Displaying 1 result from an estimated 1 matches for "irocz".
Did you mean:
irock
1998 May 21
0
winpopup system check script
...st, but we have a FreeBSD server for
mail and samba here and the other sysadmin types (not me. :-) )
use win95. I thought of this as a quick solution to letting them
know when there's a problem.
#! /bin/sh
WARN()
{
# Change the next line to be the list of machines to notify
for j in zephyr irocz sjrr
do
echo $@ | /usr/local/bin/smbclient -M $j >/dev/null
done
}
# If a PID file doesn't refer to a running job, it must have died.
for i in /var/run/*.pid
do
if [ ! -d /proc/`head -1 $i` ]; then
WARN `echo $i | sed -e s./var/run/.. -e s/.pid//` not running on `hostname -s`!...