IntroInstallationSetupOptionsCustomizationInformationFAQ



Options

Running MKStats from the command-line is simple, but there are several options that you may want to use. First, take special note that the '-c' option is required. The simplest command would be something like: 'mkstats.pl -c mkstats.config'. The complete listing of command-line options is as follows:
-c <filename>
This -c switch specifies the config file to be used. This is required and will result in an error if not used or if an invalid config file is specified.
-l <filename>
Process a log file other than the one in the config file. More than one log file may be processed by using multiple -l switches. If you don't want to process any log files, use '' as the argument to the -l switch. This will result in a warning but not a fatal error. Any use of the -l switch will override the $ACCESSLOG variable in the config file.
-v
Be verbose. Prints information to the screen as the program runs, which makes it easier to find problems and see the progress of the program as it runs. If you would like to see what's happening as MKStats does its job, turn this on.
-r
Do not process the $REFERERLOG specified in the config file.
-e
Do not process the $ERRORLOG specified in the config file.
-a
Do not process the $AGENTLOG specified in the config file.

At this point, you should have all the information you need to run MKStats and use it correctly. However, if you want to expand its capabilities and have even more control over how it works, continue to the Customization page.

IntroInstallationSetupOptionsCustomizationInformationFAQ