Mattcrmx / fd-watcher

Simple watchdog for file descriptors written in C

Home Page:https://mattcrmx.github.io/fd-watcher/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple watchdog for file descriptors written in C

https://mattcrmx.github.io/fd-watcher/

License:MIT License


Languages

Language:C 54.3%Language:Python 33.6%Language:Cython 10.4%Language:Makefile 1.7%