SHLOCK(8) InterNetNews Documentation SHLOCK(8) (NAME) shlock - (SYNOPSIS) shlock [-b|-c|-u] -f name -p pid (DESCRIPTION) shlock name pid . shlock . . shlock . "INN::Utils::Shlock" (Perl wrapper) shlock . (OPTIONS) -b (ASCII) . -b (binary int) . -c -c shlock . ( ) ( shlock ) . -f name name shlock . . -p pid pid name . -u -u -b UUCP . (EXAMPLES) shlock : LOCK=/LOCK.send trap 'rm -f ${LOCK} ; exit 1' 1 2 3 15 if shlock -p $$ -f ${LOCK} ; then # Do appropriate work. else echo "Locked by `cat ${LOCK}`" fi (HISTORY) Rich $alz InterNetNews HDB UUCP Peter Honeyman Berend Reitsma (race condition). POD Julien Elie. (SEE ALSO) INN::Utils::Shlock(3pm). INN 2.7.4 2022-07-10 SHLOCK(8)