An open API service indexing awesome lists of open source software.

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

Simple watchdog for file descriptors written in C
https://github.com/mattcrmx/fd-watcher

leak monitoring watchdog

Last synced: 17 days ago
JSON representation

Simple watchdog for file descriptors written in C

Awesome Lists containing this project

README

          


fd-watcher-logo

# fd-watcher
A simple file descriptors watchdog.

# Building
Simply run the Makefile:
```bash
make
```
# Documentation
Documentation is built with doxygen. Simply run
```bash
doxygen Doxyfile
```

# Usage
```bash
./fd_watcher --pid=42069
```
or

```bash
./fd_watcher --name=mylittleprocess
```

Options can be specified:
```bash
-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
```