EnglishFrenchSpanish

OnWorks favicon

rlock - Online in the Cloud

Run rlock in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command rlock that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


rlock - run program with a lockfile

SYNOPSIS


rlock [options] lockfile program [args]

rlock [options] lockfile -- program options [args]

DESCRIPTION


rlock creates NFS safe lockfiles. it can optionally run a program while holding the lock,
ensuring lockfile removal on program exit. if a program is specified to be run rlock will
spawn a background thread to kept the lockfile 'fresh' by touching it at a regular
interval. in this way a lease is maintained on the lockfile and other processes
attempting to obtain the lock can determine that it is in use. see the '--refresh' option
for how to control the touch interval. any other process trying to obtain a lock will
automatically remove a stale lockfile; a stale lockfile is one that is older than a
certain age. this age be controled via the '--max_age' option.

ENVIRONMENT


LOCKFILE_DEBUG=1
causes internal actions of the library to be shown on STDERR.

DIAGNOSTICS


rlock attempts to exit with the status of 'program' except where it cannot due to
exceptional conditions. in addition the message

'RLOCK SUBCOMMAND FAILURE'

will be printed on STDERR if 'program' exits with non-zero status.

Use rlock online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • 2
    Zephyr Project
    Zephyr Project
    The Zephyr Project is a new generation
    real-time operating system (RTOS) that
    supports multiple hardware
    architectures. It is based on a
    small-footprint kernel...
    Download Zephyr Project
  • 3
    SCons
    SCons
    SCons is a software construction tool
    that is a superior alternative to the
    classic "Make" build tool that
    we all know and love. SCons is
    implemented a...
    Download SCons
  • 4
    PSeInt
    PSeInt
    PSeInt is a pseudo-code interpreter for
    spanish-speaking programming students.
    Its main purpose is to be a tool for
    learning and understanding the basic
    concep...
    Download PSeInt
  • 5
    oStorybook
    oStorybook
    oStorybook l'outil privil�gi� des
    �crivains. ATTENTION : voir sur
    http://ostorybook.tuxfamily.org/v5/
    --en_EN oStorybook the right tool for
    writers. WARNIN...
    Download oStorybook
  • 6
    Asuswrt-Merlin
    Asuswrt-Merlin
    Asuswrt-Merlin is a third party
    firmware for select Asus wireless
    routers. Based on the Asuswrt firmware
    developed by Asus, it brings tweaks, new
    features and ...
    Download Asuswrt-Merlin
  • More »

Linux commands

Ad