|
NAMElockersh - Run a command under a global lockSYNOPSISlockersh [--dhost <host> --port <port>] --lock <name> [args....] DESCRIPTIONObtain a global IPC::Locker lock with the passed name.When the lock is granted, run the arguments as a command in the foreground. When the foreground process exits, release the lock, and return the executed command's exit status. This makes it very easy to insure only one copy of a program executes across a clump: lockersh --lock one_sleep_runs sleep 10 ARGUMENTS
ENVIRONMENT
DISTRIBUTIONThe latest version is available from CPAN and from <https://www.veripool.org/ipc-locker>.Copyright 2006-2019 by Wilson Snyder. This package is free software; you can redistribute it and/or modify it under the terms of either the GNU Lesser General Public License Version 3 or the Perl Artistic License Version 2.0. AUTHORSWilson Snyder <wsnyder@wsnyder.org>SEE ALSOIPC::Locker, lockerd
Visit the GSP FreeBSD Man Page Interface. |