hello to all,


Is there a simple perl sript that can monitor squid process, I can't find
one on google pls help....Im not too familiar with perl scripting....by the
way here's the condition.


1.) looking for the squid process (like "ps aux | grep squid" commnand in
unix)
2.) If there is squid process, nothing to be done then exit.
3.) If there's no squid process, simply start squid service and exit.

Thank's for your advance help...if you guys provide me the script....much
better.

Eduardo Mapalo

What you want is keepalive:


http://freshmeat.net/projects/keepalive/

It can monitor squid, sendmail, apache, sshd, bind, etc. For other daemons, writing a perl plugin is easy.

If anyone's interested, I have a JBoss plugin for this.


Rad Batnag


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.672 / Virus Database: 434 - Release Date: 4/28/2004
--
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