# burstdog Monitor CPU usage by process and report bursts to a logfile. ## Invocation ```sh burstdog [logfile] ``` Default logfile is `burstdog.log` in the current directory. The openrc service logs to `/var/log/burstdog.log`. ## Build Compile using `make` or `cc burstdog.c -O3 -o burstdog`. See [burstdog.c](burstdog.c) for configuration options. Install to PREFIX using `make install`. To install openrc service file, use `make install-rc`. ## Test burstdog ```sh $ burstdog & $ tail -f burstdog.log $ cat < /dev/random > /dev/null # in a different shell ```