[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
proc monitor flag red an existing process
- To: hobbit (at) hswn.dk
- Subject: proc monitor flag red an existing process
- From: Stéphane ANGOT <sa (at) hydre.org>
- Date: Wed, 13 Jun 2007 15:00:22 +0200
- User-agent: Thunderbird 1.5.0.10 (Windows/20070221)
Hi,
I monitor the process tor with this line in hobbit-client.cfg :
PROC    "%^tor" TEXT=tor
It works well except when the memory allocated for the process exceed 99999 : the monitor flag the process red...
Perhaps it's due to a wrong regular expression or perhaps it's the shift in the PS output :
28894 28893 _ntp      Mon05PM S      4  0.0   0:03.60  0.1   900  1344 ntpd: ntp engine (ntpd)
36112     1 tor       Mon06PM S     20  0.0 233:44.10  9.6 98692 101272 tor
42051     1 fetchmail Fri06PM Ss     4  0.0   0:19.02  0.2  1760  3952 fetchmail -f /usr/local/etc/fetchmailrc -d 300
Any clue?
Thanks
Stéphane.