This is good idea ... added to the TODO list: http://www.tildeslash.com/monit/doc/next.php#43
Thanks, Martin Brian Candler wrote:
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 monit-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/monit-dev
_______________________________________________ monit-dev mailing list monit-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/monit-dev