I have a suggestion for a new process resource test: the number of open file
descriptors a process has.
We currently have a knocked-together shell script which does
ls /proc/<pid>/fd | wc -l
and compares this to a threshold. If we could use monit to do this, it would
give a much cleaner approach.
I don't know if there's a better way (more efficient or more portable) to
collect this data though.
Cheers,
Brian.
_______________________________________________
monit-dev mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/monit-dev