1PMLOCK(1) General Commands Manual PMLOCK(1)
23
4
NAME
6pmlock - simple file-based mutex
7
SYNOPSIS
9$PCP_BINADM_DIR/pmlock [-v] file
10
DESCRIPTION
12pmlock attempts to acquire an exclusive lock by creating file with a
13mode of 0.
1415
The exit status is 0 for success, 1 for failure.
1617
To release the lock, unlink file.
1819
In the event of a failure, the -v option produces an explanatory mes‐
20sage on stdout.
2122
23
24
Performance Co-Pilot PCP PMLOCK(1)