help-cfengine
[Top][All Lists]
Advanced

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

Re: Number of files in a directory?


From: Mark Burgess
Subject: Re: Number of files in a directory?
Date: Tue, 15 Mar 2005 07:48:59 +0100

> control:
>       MailQueueCount = ( ExecResult(find /var/spool/mqueue -type f -name 'q*' 
> | wc -l )
> 
> classes:
>       MailqueOverLimit = ( ReturnsZero(/usr/bin/test $(MailQueueCount) -ge 
> 12) )
> 
>       Warning; completely untested, but it hopefully indicates the way I 
> was thinking.  Mark, does this mean that boolean operations would be a 
> good idea in cfengine?

I don't know what you mean by a boolean operation. 

M





reply via email to

[Prev in Thread] Current Thread [Next in Thread]