[Top][All Lists]

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

Re: find processes older than 24 h

From: Mark . Burgess
Subject: Re: find processes older than 24 h
Date: Tue, 26 Feb 2002 10:14:27 +0100 (MET)

Your example works for me, exactly as you write it.
You do not say what version of cfengine you are using.
Please try upgrading cfengine.

If that does not help, can you provide a proper bug 
report, with version of cfengine,
a gdb trace of the segmentation fault etc, please?


On 26 Feb, Faeth Markus wrote:
> ->processes:
> -------------------------------------
> I was able to configure cfengine to check if all necessary processes are
> working and to warn if not. Now a question is
> how can I check for processes that are not configured... like shell
> processes and so on that aren't allowed to be there?
> I tried to write a complicated regular expression to do so, but it did't
> work.
> Another problem is that I have to check for httpd processes that are working
> more than 24 hours. I thought with 'filters' it can't
> be that difficult, but I couldn't manage it:
> ...
> filters:
>    { httpd
>       FromSTime:      "accumulated(0,0,1,0,0,0)" 
>       ToSTime:        "inf"
>       Result: "STime"
>    }
> ...
> processes:
>    "/usr/bin/httpd" filter=httpd action=warn
> ...
> results in a 'Segmentation Fault'!
> surely you have some experience and can help me build the right statement.
> Greetings
> Markus Faeth

Work: +47 22453272            Email:
Fax : +47 22453205            WWW  :

reply via email to

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