iTP Secure WebServer System Administrators Guide (Version 7.5+)
This command collects statistics for all httpd processes in PATHMON $PATHMON for parameters
specified in user-specified config-file.
The output of all of the above commands is a Comma Separated Value list that can be read
in Microsoft Excel.
• statscom -stop $PATHMON [config-file][-location
<DIRECTORY-PATH>][-name <HTTPD-PROCESS-NAME>]
This command stops the statistics gathering for all httpd processes in PATHMON $PATHMON.
For example:
./statscom -stop \$SWEB
OR
./statscom -stop \$SWEB [config-file]
where config-file is the user-specified configuration file.
In all of the previously listed examples, you can select the parameters, for which the statistics are
to be collected, by exclusively turning the parameter ON / OFF in the configuration file.
Sample Commands of Statistics Collection When WebServer is Running Under a Domain (Two
PATHMONs)
• statscom -start \%DOMAIN [config-file]-location
<DIRECTORY-PATH>]\[-name <HTTPD-PROCESS-NAME>]
This command starts the statistics collection process for all the httpd processes under DOMAIN
$DOMAIN.
For example:
./statscom -start \%WEB
OR
./statscom -start \%WEB [config-file]-location
<DIRECTORY-PATH>]\[-name <HTTPD-PROCESS-NAME>]
where config-file is the user-specified configuration file.
• statscom -status \%DOMAIN [config-file]-location
<DIRECTORY-PATH>][-name <HTTPD-PROCESS-NAME>]
This command returns the current instrumentation status. A message is displayed indicating
whether instrumentation for all httpd processes in under DOMAIN $DOMAIN is active or not.
For example,
./statscom -status \%WEB
OR
./ statscom -status \%WEB [config-file]-location
<DIRECTORY-PATH>]\[-name <HTTPD-PROCESS-NAME>]
where config-file is the user-specified configuration file.
• statscom -submit \%DOMAIN [config-file]-location
<DIRECTORY-PATH>]\[-name <HTTPD-PROCESS-NAME>]
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
90 Managing the iTP Secure WebServer Using Scripts










