diff options
| author | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2026-04-01 20:36:46 +0200 |
|---|---|---|
| committer | Lizzy Fleckenstein <lizzy@vlhl.dev> | 2026-04-01 20:36:46 +0200 |
| commit | abda2001b80bc71f48cfbdc02a4f8988e5f30a39 (patch) | |
| tree | 6b3430800a84c0ae7c86787763414ec399f2f0f9 /README.md | |
| download | burstdog-abda2001b80bc71f48cfbdc02a4f8988e5f30a39.tar.xz | |
init
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..1b527a5 --- /dev/null +++ b/README.md @@ -0,0 +1,27 @@ +# watchdog + +Monitor CPU usage by process and report bursts to a logfile. + +## Invocation + +```sh +watchdog [logfile] +``` + +Default logfile is `watchdog.log` in the current directory. + +## Build + +Compile using `make` or `cc watchdog.c -O3 -o watchdog`. + +See [watchdog.c](watchdog.c) for configuration options. + +Install to PREFIX using `make install`. + +## Test watchdog + +```sh +$ watchdog & +$ tail -f watchdog.log +$ cat < /dev/random > /dev/null # in a different shell +``` |
