[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [hobbit] Checking for mutually exclusive processes



On Thu, Jun 11, 2009 at 08:50:02AM -0400, Brand, Thomas R. wrote:

> Given ProcessA and ProcessB,
>  If ProcessA is running AND ProcessB is running
>  then YELLOW
>  else 
>      if ProcessA is NOT running AND ProcessB is NOT running
>      then YELLOW
>      else GREEN
> 
> 
>  ProcessA and ProcessB are mutually exclusive; one OR the other must 
> be running, but not BOTH.

PROC %(ProcessA|ProcessB) 1 1 yellow

Daniel