Provided by: manpages-zh_1.5.2-1_all bug

NAME()

       lockfile -

SYNOPSIS()

       lockfile -sleeptime | -r retries |
            -l locktimeout | -s suspend | -!  | -ml | -mu | filename ...

DESCRIPTION()

       lockfile   (semaphore)   .lockfile(),  (sleeptime)  (8).   (retries)  .
       retries -1(, -r-1) lockfile.

        retries ,lockfile.

       shelllockfile -!  .,lockfile,.

       ,..

       lockfile, rm -f .

        locktimeout lockfilelockfile/locktimeout(lockfiles).Lockfile.lockfile,
       suspend (16),lockfile( procmail(1)) SUSPEND ).

   Mailbox locks ()
       spool,lockfilesetgid, -ml -mu lockunlock.

EXAMPLES()

       "important",,shell.,shell.,:
              ...             lockfile            important.lock           ...
              access_"important"_to_your_hearts_content     ...      rm     -f
              important.lock ...
       "important",`lockfile'`rm'.

ENVIRONMENT()

       LOGNAME

FILES()

       /etc/passwd            /(,HOME)

       /var/spool/mail/$LOGNAME.lock
                              lockfile,,/etc/passwd.

SEE ALSO ()

       rm(1), mail(1), binmail(1), sendmail(8), procmail(1)

DIAGNOSTICS()

       Filename too long,...  .

       Forced unlock denied on "x"
                              lockfile "x",lockfilelock.

       Forcing lock on "x"    lockfile "x" ( procmail(1)) LOCKTIMEOUT ).

       Out of memory,...      .

       Signal received,...    Lockfile.

       Sorry,...              retries .

       Truncating "x" and retrying lock
                              "x".

       Try praying,...        .

BUGS

       .

WARNINGS()

       -!  ,,.lockfile,shell -!  ,.  , -!  lockfile.

MISCELLANEOUS()

       LockfileNFS,.

NOTES()

       -h-?lockfile.-v.

        -!  .

       ,'-''./".

       (,), retries ., -rnewretries .

       lockfiles,'.lock'lock().,lockfilename,`lock.'lockfilename,i-node.

SOURCE()

        http://www.procmail.org/ ftp.procmail.org pub/procmail/ procmail mail-
       processing-package (v3.14).

MAILINGLIST()

       procmail:
              <procmail-users@procmail.org>
                     /.
              <procmail-users-request@procmail.org>
                     .

       ,
              procmail-announce-request@procmail.org
       ().

AUTHOR

       Stephen R. van den Berg
              <srb@cuci.nl>

[]

       riser <boomer@ccidnet.com>

[]

       2001/08/08

linuxman:

       http://cmpp.linuxforum.net

                                                                   LOCKFILE(1)