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-8
statscom Command
Using the statscom Command
Following are the various command-line options that can be performed using
statscom ($PATHMON is the PATHMON name for webserver, %DOMAIN is the
DOMAIN of iTP WebServer running in the online-upgrade mode).
Sample Commands for Statistics Collection When WebServer is Running
Under a Single Pathmon
statscom -start \$PATHMON [config-file]
This command starts the statistics collection process for all the httpd processes
under PATHMON $PATHMON.
For example,
./statscom -start \$SWEB
OR
./statscom -start \$SWEB [config-file]
where config-file is the user-specified configuration file.
statscom -status $PATHMON [config-file]
This command returns the current instrumentation status. A message is displayed
indicating whether instrumation for all httpd processes are PATHMON $PATHMON
is active or not.
For example,
./statscom -status \$SWEB
OR
./ statscom -status \$SWEB [config-file]
where config-file is the user-specified configuration file.
statscom -submit $PATHMON [config-file]
This command stores the httpd statistics in the statistics.csv file under the
logs directory of the webserver.
For example,
./statscom -submit \$SWEB
This command collects complete statistics for all httpd processes in PATHMON
$PATHMON .
OR
./statscom -submit \$SWEB [config-file]