;
; Example INI file to configure System::ProcWatch
;
; Be aware that you only can define shell executes!
; For better configurablity use XML configuration files.
;
[httpd]
pattern=/httpd/
match=command
condition=presence
min=10
max=50
execute="echo $msg >> /var/log/procwatch"
[zombies]
pattern=/Z/
match=stat
condition=presence
max=0
execute="kill -9 `echo $pids | sed s/[,\(\)]//g`"
[mysqld-mem]
pattern=/mysqld/
match=command
condition=attr
attr=%mem
sum=10
execute="echo $msg >> /var/log/procwatch"
Parameter
string
$file
path to INI file
Return value
Returns config array on success or PEAR_Error on failure.