A simple file descriptors watchdog.
Simply run the Makefile:
make
Documentation is built with doxygen. Simply run
doxygen Doxyfile
./fd_watcher --pid=42069
or
./fd_watcher --name=mylittleprocess
Options can be specified:
-p --pid: the pid of the process to monitor
-n --name: the name of the process to monitor
-t --time: the time limit of the watchdog
-i --interval: the interval at which the watchdog will watch the descriptors
-s --stats: enable statistics collection, and csv export of the file descriptors monitoring