Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pmlock    ( 1 )

простой файловый мьютекс (simple file-based mutex)

Имя (Name)

pmlock - simple file-based mutex


Синопсис (Synopsis)

$PCP_BINADM_DIR/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.