iTP Secure WebServer System Administrators Guide (Version 7.5+)

OR
./statscom -submit \%WEB [config-file]
This command collects statistics for all httpd processes in DOMAIN $DOMAINfor 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]-location
<DIRECTORY-PATH>]\[-name <HTTPD-PROCESS-NAME>]
This command stops the statistics gathering for all httpd processes under DOMAIN $DOMAIN.
For example:
/statscom -stop \%WEB
OR
./statscom -stop \%WEB [config-file]-location <DIRECTORY-PATH>]\[-name
<HTTPD-PROCESS-NAME>]
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.
DIRECTORY-PATH is the user-specified directory location where the statistics.csv file/
statscom.log file is created. -name option can be used to specify the name of httpd serverclass
for which statistics collection has to be done. HTTPD-PROCESS-NAME is the serverclass name of
httpd process. This is useful if httpd serverclass is configured with user configurable name other
than httpd. If not used, statscom would use the default name httpd.
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.
A separate log file named statscom.log is created under the logs directory of the webserver
to gather the error messages.
Sample Configuration File for statscom
The sample configuration file for statscom ( statparams.config) is located in the conf
directory of the webserver. Statistics collection for a particular parameter can be enabled by
specifying ON in front of the parameter in the configuration file.
Statistics can be collected for the following parameters:
MaxSockets
Maximum number sockets ever opened
SocketOpens
Number of sockets currently open
TotalActiveTimers
Total number of active timers
CurrentConnections
Collecting httpd Statistics Using statscom 91