iTP Secure WebServer System Administrator's Guide (Version 7.0)
Managing the iTP Secure WebServer Using Scripts
iTP Secure WebServer System Administrator’s Guide—523346-012
6-9
statscom Command
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]
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 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.
Sample Commands of Statistics Collection When WebServer is Running
Under a Domain (Two PATHMONs)
•
statscom -start \%DOMAIN [config-file]
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]
where config-file is the user-specified configuration file.
•
statscom -status \%DOMAIN [config-file]
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]