[analog-help] Alternate configuration file
Klaus Johannes Rusch
KlausRusch at atmedia.net
Fri Sep 29 07:49:23 PDT 2006
Luc MAIGNAN wrote:
> I want to generate stats for differents servers. So it is possible to
> use several configuration file (analog.cfg) whose name can be passed
> on the command line ?
http://www.analog.cx/docs/syntax.html
You can also include another configuration file from the command line by
using a command like +gother.cfg. (Note that there is no space between
+g and the filename; this is true of all command line arguments.) But
note that reading an alternative configuration file does *not* stop the
default configuration file (usually analog.cfg) being read as well. To
do that you have to specify -G as well as the +g command. This is
because if you want several different configurations, it's most
convenient to put all the common options in analog.cfg, and options
specific to each configuration in a separate file. Then the +g command
line option will read both those files.
--
Klaus Johannes Rusch
KlausRusch at atmedia.net
http://www.atmedia.net/KlausRusch/
More information about the analog-help
mailing list