iTP Secure WebServer System Administrator's Guide (Version 7.0)

Managing the iTP Secure WebServer Using Scripts
iTP Secure WebServer System Administrator’s Guide523346-012
6-10
statscom Command
where config-file is the user-specified configuration file.
statscom -submit \%DOMAIN [config-file]
This command stores the httpd statistics in the statistics.csv file under the
logs directory of the webserver.
For example,
./statscom -submit \%WEB
This command collects complete statistics for all httpd processes in DOMAIN
$DOMAIN
OR
./statscom -submit \%WEB [config-file]
This command collects statistics for all httpd processes in DOMAIN $DOMAIN for
parameters specified in config-file.
The output is a Comma Separated Value list that can be read in Microsoft Excel.
statscom -stop \%DOMAIN [config-file]
This command stops the statistics gathering for all httpd processes under DOMAIN
$DOMAIN.
For example,
/statscom -stop \%WEB
OR
./statscom -stop \%WEB [config-file]
where config-file is the user-specified configuration file.
In all of the above cases, you can select the parameters, for which the statistics are to
be collected, by exclusively turning the parameter ON / OFF in the configuration file.
A separate log file named statscom.log is created under the logs directory of the
webserver to gather the error messages.
Note. config-file can be the name of any user-defined configuration file. The default file
statparams.config, provided with iTP Secure WebServer, enables all the statistics options.
You can edit this file based on your requirement to enable/disable particular options. If the
configuration file is not specified, statscom collects statistics for all the available parameters.
If the statistics collection must be done for a domain, you must ensure that the domain name is
specified as an argument, while executing statistics collection must match with the one
mentioned in the ACS control file.
Additionally, commands for statistics collection must be run with $root/bin as the current
working directory.