Projects / getlock

getlock

getlock is a command-line lockfile utility that uses 'fcntl' style locks, which release if the program exits. getlock normally locks one or more files and then runs a command, but it can be run without a command in order to just lock the files. It can also run a command if all the locks cannot be made, kill off current lock owners, write a PID to a lock file, and background, but still keep the lock, for use in shell scripts.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  14 Jun 2013 12:59

    Release Notes: This release adds the -v/-version command line flag and -n/-nohup command line flags.

    •  03 Oct 2011 09:56

      Release Notes: This release adds code cleanups, bugfixes, and support to "abandon" a running script after a timeout (useful for "hung" scripts).

      Screenshot

      Project Spotlight

      OpenStack4j

      A Fluent OpenStack client API for Java.

      Screenshot

      Project Spotlight

      TurnKey TWiki Appliance

      A TWiki appliance that is easy to use and lightweight.