On Tue, Nov 30, 2010 at 6:02 AM,  <no-re...@cfengine.com> wrote:
> Forum: Cfengine Help
> Subject: Re: Parent process selection
> Author: matter
> Link to topic: https://cfengine.com/forum/read.php?3,19311,19484#msg-19484
>
> Interesting, using 3.1.1, it seems AIX see a space after the regular 
> expression. The rssize worked for me, but the command match did not. I added 
> whitespace match after and that picked it up (from your mon.cf in the bug 
> report).
>
>
>      process_select => memleak(".*cf-serverd\s*$","2000"),
>
>
> instead of
>
>
>   process_select => memleak("*?cf-serverd","2000"),

What is the *? about? * is a quantifier and must be preceded by a
match character. If you meant to match *, it needs to be escaped with
\ or enclosed in [].

Also, I don't believe you need \s*$ in the first regex - as process
regex do not have to match the whole line. So even if there were
spaces after the command, it would not matter.

>
>
> Still looking to see if this really means anything.
>
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine
>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to