Well, I added a command to do a "ps -ef " if the process count was out
of range, and it did do it. But it did not show more than one process
running:

 !! Process count for 'XXXXXX' was out of promised range (2 found)

I: Comment: Verify the processes are running
Q: "...usr/bin/ps -ef ":     root 24246 11882   1   Feb 18      -
328:53 XXXXXX -d
Q: "...usr/bin/ps -ef ":     root 29668 36680   2 13:51:28      -
0:00 grep XXXXXX
I: Last 2 QUOTEed lines were generated by promiser "/usr/bin/ps -ef |
grep XXXXXX"

However, this really means nothing. There could have been two
processes (or another process matching the regex) running when the
initial check was made. There can't be two of this particular process
running as binding to the port would fail as it was already open (but
is could fire up and die the second cf looks at it).

End result for this test - push.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to