Mastering the Web
Click here
Contents
Website Planning Tutorial
Website Design Tutorial
HTML Tutorial
HTML Tables Tutorial
CGI Tutorial
JavaScript Tutorial
Perl Tutorials
CSS Tutorial
Installing a Web Server
Security Tutorial
HTML Cookies Tutorial
Web Tracking Tutorial
Download Free Programs
F.A.Q.

FWTLogstat2 Command Line Switches

FWTLogstat2 admits command line switches to control its operations. Actually, these switches can be used from a command line obtained by running the command processor (cmd.exe), or they can be embedded in a desktop shortcut. Bear in mind that if you are using 'cmd.exe', you must either specify the full path to the executable, or place this executable in a directory listed in the PATH environmental variable. Once you have written the command line and pressed "Enter", the main window of FWTLogstat2 appears. Then, you can just press "Process" to start the processing, or you can click the "Options" button to check that your options are all right. You can also move from one button to another by using the arrows keys, and press "Enter" when you are on the right button.

Options are specified following the name of the program, preceded by a hyphen and followed by their value with an intervening space. They can be placed in any order.

l - Log file name (low case L)

You can give the full path to the log file or omit the path if FWTLogstat2 is started from the directory where this file is. Default: the name 'logfile.txt' is assumed if none is given.

Examples:

logstat2 -l log.txt
logstat2 -l c:\logfiles\log.txt

If this message appears:

Error in opening log file
it means that the program couldn't find the file.

a - Only these dates

You can give a date or a range of dates that will be processed. Dates must be in the European format. You can also use symbolic constants that must be written using lower-case. The first day of the week is Monday.

Symbolic constants:

today, yesterday, thisweek, lastweek, thismonth, lastmonth

Examples:

logstat2 -a 05/01/2008
logstat2 -a 05/01/2008-15/01/2008
logstat2 -a lastweek

PONER SELECCION DE DIAS

j - Only these documents

k - Omit these documents

If both are present, the 'include' filter (j) is applied first. From the documents that pass it, a second selection is made using the 'omit' filter (k). These two parameters admit the same type of value: a set of strings separated with semicolons. Each string represents a type of document and may have one or more asterisks that function as wildcards. Each asterisk stands for a mixture of lower- and upper-case letters, numbers, underscores, hyphens, periods, and slashes. If it is necessary that an asterisk take the place of any sequence of characters, use the modifier -g.

Examples:

Include only html       -j *.htm*
Omit gifs               -k *.gif
Only pages              -j *.htm*;*.php
Omit binaries           -k *.gif;*.jpg;*.png;*.ico
Omit sub-directory      -k /images/*
Only my blog            -j /blog/*

r - Request report

This option is not needed if you want a standard report of the requests made against your website. The standard ordering is by name of document. However, you may alter the ordering using the following sub-options.

r0  Suppress request report
r1  List by document name
r2  List by number of requests for each document
r3  List by number of bytes transferred for each document

Previous | Contents | Next

| HOME | FEEDBACK | BOOKMARK |
Build your Website
© 1999-2008 Hector Castro -- All rights reserved

www.great-web-info.com