/perflock

Locking wrapper for running benchmarks on shared hosts

Primary LanguageGoBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Perflock is a simple locking wrapper for running benchmarks on shared hosts.

To build, install, and start perflock system-wide, run

$ go get github.com/aclements/perflock/cmd/perflock
$ cd $GOPATH/src/github.com/aclements/perflock
$ ./install.bash

If your init system is supported, this will also configure perflock to start automatically on boot.

Manual installation

To install perflock manually, run

$ go get github.com/aclements/perflock/cmd/perflock
$ sudo install $GOPATH/bin/perflock /usr/bin/perflock

To start the perflock daemon manually, run

$ sudo -b perflock -daemon

To enable the perflock daemon on boot, see the instructions for your init system in the init/ directory.