Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
  pagemakers
  run-remstats2
      run-remstats
      check-config
      remstats-monitor
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
  Thank-you
  Index


  Live Data

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

[Top] [Prev] [Next]

run-remstats2

Usage:

Can't locate remstats.pl in @INC (@INC contains: . /usr/lib/remstats/lib /usr/lib/perl5/ /etc/perl /usr/local/lib/perl/5.8.7 /usr/local/share/perl/5.8.7 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at ../run-remstats2 line 38.

Description:

[Run-remstats2 is a replacement for run-remstats. If you're converting to use run-remstats2, then you need to know that the old collectors, monitors and pagemakers lines in the general config-file are ignored by run-remstats2.]

Run-remstats2 is the main process part of remstats. It looks at the run config-file to get a list of the stages it is to go through, and their order. These stages are defined in the run-stages config-dir. Each stage consists of one or more named command-lines (from a single program, to a pipeline with many options. All the requested command-lines for a stage are run in parallel. Run-remstats2 (like run-remstats) will then wait for all the commands to finish, before proceeding with the next stage. There are more details to controlling this process, but they are documented with the run and run-stages documentation.

Each command will have stderr redirected to a separate file, and if the command is a pipeline, each part of the pipeline will have stderr directed to it's own file, thus keeping each program's error output separate. These files are stores in the tmp/run-stages directory, with names like [stage]-[id]-out-[pid].[pipeline-part].

Notes

When starting, it will look for a file in the tmp directory called STOP-run-remstats2 and if it exists, will exit immediately.


[
Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Tue Oct 25 15:14:24 UTC 2005 by <terskine@users.sourceforge.net>.