S L O G A N
8.2. Launching Slogan
Starting the program from the command line.
To launch Slogan, the log processing and summarizing program, enter its
name and the required switches in the command line:
./slogan [switch1] [switch2] […] [switchN]
where
[
switchN]
is the Slogan optional command line switch
.
Make sure to define the log files to be processed. The file or the list
of files must be defined using the command
line switch
–s
(for details
see
below). If you start the program with No switches in the
command line, the list of available switches will appear on your
screen. You can also display this list by using the command line
switch
–h
.
When starting Slogan you can use the following command line switches
:
-s file1 file2 … fileN
or
–s filemask
.
where:
file1 file2 … fileN
is the list of log files to be parsed by Slogan;
filemask
is the mask of log files to be parsed by Slogan.
The summary produced by Slogan contains cumulative information
about all the predefined
files!
-h
Displays the Help file with the list of available command
line switches.
-t filename
The optional file-template to be used for
the summary report produced
by Slogan.
The program includes several templates
*.tm
, to be used by Slogan when
summarizing logs data (for details of the templates see subchapter 15.7
Appendix B). By default the program generates the summary report using
template.tm
(see Figure 9) and this report is similar to the one described in
subchapter 10.7.4.
90