shlock-20080529.tgz


Advertisement

Description

shlock - Shell utility to perform dot-locking

Property Value
Distribution NetBSD 7.0
Repository NetBSD i386
Package filename shlock-20080529.tgz
Package name shlock
Package version 20080529
Package release -
Package architecture i386
Package type tgz
Category pkgtools sysutils
Homepage -
License -
Maintainer -
Download size 7.12 KB
Installed size 12.95 KB
The shlock command can create or verify a lock file on behalf of a
shell or other script program.  When it attempts to create a lock
file, if one already exists, shlock verifies that it is or is not
valid.  If valid, shlock will exit with a non-zero exit code.  If
invalid, shlock will re- move the lock file, and create a new one.
shlock uses the rename(2) system call to make the final target lock
file, which is an atomic operation (i.e.  "dot locking", so named for
this mech- anism's original use for locking system mailboxes).  It
puts the process ID ("PID") from the command line into the requested
lock file.
shlock verifies that an extant lock file is still valid by using
kill(2) with a zero signal to check for the existence of the process
that holds the lock.

Alternatives

Package Version Architecture Repository
shlock-20080529.tgz 20080529 amd64 NetBSD
shlock - - -

Download

Type URL
Mirror ftp.netbsd.org
Binary Package shlock-20080529.tgz
Source Package shlock

Install Howto

Install shlock tgz package:

# pkg_add shlock

See Also

Package Description
shmux-1.0.2.tgz Shell Multiplexor
shntool-3.0.10.tgz Lossless audio compressor wrapper tool
shoebill-0.0.5nb3.tgz Macintosh II emulator that runs A/UX
shorten-3.6.1.tgz Lossless audio compressor
shtk-1.7.tgz Application toolkit for POSIX-compliant shell scripts
shunit2-2.1.6.tgz Unit test framework for Bourne based shell scripts
siag-3.6.1nb8.tgz Poor man's office suite with spreadsheet, word processor, etc
sid-milter-1.0.0nb5.tgz Open source SPF/SenderID filter software from Sendmail, Inc
sidplay-1.0.9nb3.tgz Tools for playing sidtunes
sidplay2-2.0.9.tgz Tool for playing sidtunes
siege-3.1.3nb2.tgz Website/webserver regression testing utility
sienna-1.0c.tgz One button platformer
sieve-connect-0.89.tgz Command line client for the ManageSieve protocol
sift-0.6.0nb17.tgz Fast and powerful open source alternative to grep
sign-1.0.7nb1.tgz File signing and signature verification utility
Advertisement
Advertisement