Skip to content

Mattcrmx/fd-watcher

Repository files navigation

fd-watcher-logo

fd-watcher

A simple file descriptors watchdog.

Building

Simply run the Makefile:

make

Documentation

Documentation is built with doxygen. Simply run

doxygen Doxyfile

Usage

./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