collectd/collectd — pull request #836 by mfournier (2014-12-03 10:42:47+00:00)
Title: processes plugin: add per-process open files count

Only implemented on Linux for now. On other platforms no value will get
submitted.

Counts the number of files in the /proc//fd/ directory.
The function used to count the number of threads has been slightly
modified to work for this case too.