Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
      alerter
  pagemakers
  run-remstats2
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
      alerter
      availability-report
      convert-config-links
      files
      functions
      genindex
      genmenu
      htmlpod
      lockfile
      podhtml
      podlatex
      podpdf
      remstats-backup
      remstats-cleanup
      remstats-version
      rename-host
      rrd-report
      rt-updater
  Thank-you
  Index


  Live Data

  Remstats was written by
  Thomas Erskine at the
  CRC in Canada and now
  at SourceWorks.

[Top] [Prev] [Next]

lockfile

Usage:

Can't locate remstats.pl in @INC (@INC contains: . /usr/lib/remstats/lib /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at ../lockfile line 33.

Description:

This makes remstats generic make_lockfile function available to shell scripts so that external things (like backups) can lock the same way remstats does internally, for the few things which need locking.

If the specified lockfile has no '/' in it, then it will be augmented to

	<tempdir>/LOCK-<whatever>

where <tempdir> is the remstats configuration-supplied tempdir and <whatever> is what you specified as a lock-file. The remstats programs which use the make_lockfile routine, which is the heart of lockfile, all use their name as the lock-file.


[
Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Wed Jun 30 10:36:29 UTC 2004 by <terskine@users.sourceforge.net>.