On Thu, 8 Jul 2004, Bopolissimus X Platypus wrote:

> 
> how exactly do you want it to work?  e.g., something simple might be:
> 
> #/bin/bash
> nl=`ps auxw | grep <daemon_name> | grep -v grep | wc -l `
> hostname=`hostname`

Oh...I just put the service in inittab -- so when it dies, it restarts...
B-)


--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to