pmlock(1)

pmlock - simple file-based mutex

As shipped in IRIX 6.5.7. Added in IRIX 6.5.5.

NAME
     pmlock - simple file-based mutex

SYNOPSIS
     /usr/pcp/bin/pmlock [ -v ] file

DESCRIPTION
     pmlock attempts to acquire an exclusive lock by creating file with a mode
     of 0.

     The exit status is 0 for success, 1 for failure.

     To release the lock, unlink file.

     In the event of a failure, the -v option produces an explanatory message
     on stdout.