monit-dev
[Top][All Lists]
Advanced

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

Re: [monit-dev] Suggestion: file descriptor count


From: Martin Pala
Subject: Re: [monit-dev] Suggestion: file descriptor count
Date: Fri, 02 May 2008 22:52:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.13) Gecko/20080313 Iceape/1.1.9 (Debian-1.1.9-2)

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
address@hidden
http://lists.nongnu.org/mailman/listinfo/monit-dev




reply via email to

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