Ruby library for creating NFS safe lockfiles and command line tool which uses this library to create lockfiles and to run arbitrary commands while holding them.