Also there is a different solution to this problem. Since the script is run via 
cron, just have the cron script itself check and see if a second instance is 
running of itself.  That would also keep your checks from walking all over each 
other...

Something along these lines:

Code:

ps aux | awk '{print $11}' | grep cron | grep -v grep | wc -l



if return value is greater than 1, then send an snmp trap and exit before the 
script itself runs...




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=26934#26934

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to