Nagios Plugin: Monitor Process FD

Usually a process will have a limit for how many fd it can open. If the fd count is too many and abnormal, usually it indicates resource leak in code level or a burst of request.

Hence put effective monitoring for fd count of critical processes are important.


Below linux command can find the fd count of a given process use

lsof -p $pid | wc -l

Here comes the plugin in GitHub.Follow @dennyzhang

More Reading:

Original URL:

Connect with Denny In LinkedIn Or MailList

One Response to Nagios Plugin: Monitor Process FD

Leave a Reply

Your email address will not be published. Required fields are marked *