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
- Host: GitHub
- URL: https://github.com/mattcrmx/fd-watcher
- Owner: Mattcrmx
- License: mit
- Created: 2022-05-21T08:56:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T09:16:11.000Z (over 1 year ago)
- Last Synced: 2024-05-22T11:01:42.259Z (over 1 year ago)
- Topics: leak, monitoring, watchdog
- Language: C
- Homepage: https://mattcrmx.github.io/fd-watcher/
- Size: 2.49 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```