... try to compare the pid in the file and the pid of the running process - is it equal?

Martin



indeed they are:

# cat /var/run/clamav/clamav-milter.pid.fixed
12781
# ps -ef | grep clamav-milter
clamilt 12781 1 0 16:19 ? 00:00:00 /usr/sbin/clamav-milter --quiet --external --dont-wait --force-scan --dont-log-clean --server=localhost --pidfile=/var/run/clamav/clamav-milter.pid local:/var/run/clamav/clamav-milter.sock


-Mike


--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to