BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} This is a basic question.
No. runbb.sh runs "forever" once started. Depending on your os put a
startup line in the boot scripts, e.g.:
[for Solaris]
/etc/rc3.d/bb -> /etc/init.d/bb:
#!/sbin/sh
#
# /etc/init.d/bb - Start/Stop the Big Brother daemons
#
# S Holmes Dec 1998
#
PATH=/usr/bin:/bin:/usr/local/etc
case $1 in
'start')
#
if [ -x /your/path/to/bb/runbb.sh ]
then
su - bb "/your/path/to/bb/runbb.sh" >/dev/null 2>/dev/null &
fi
;;
'stop')
pid=`/usr/bin/ps -ef | grep /your/path/to/bb/runbb.sh | \
grep -v grep | awk '{print $2}'`
if test "$pid"
then
kill -KILL $pid
fi
pid=`/usr/bin/ps -ef | grep /your/path/to/bb/bin/bbd | \
grep -v grep | awk '{print $2}'`
if test "$pid"
then
kill -KILL $pid
fi
;;
*)
echo "usage: /etc/init.d/bb{start|stop}"
;;
esac
Steve Holmes \WWW: http://wwwicd.cc.purdue.edu/~sjh
Unix Systems Administrator\Email:sholmes@purdue.edu
1408 Mathematics Building \Phone: (765) 496-3325
West Lafayette IN 47907-1395\
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please send mail for the mailing list to: bb@taex001.tamu.edu
To [un]subscribe to this list, send e-mail to majordomo@taex001.tamu.edu
with [un]subscribe bb in the BODY of the message.
Please contact the mailing-list-owner as: bb-owner@taex001.tamu.edu
Home |
Main Index |
Thread Index