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-7
PATHMON Environment’s Autorestart for the iTP
Secure WebServer and Related Processes
PATHMON Environment’s Autorestart for the
iTP Secure WebServer and Related Processes
Because the iTP Secure WebServer and related processes run in a PATHMON
environment, a process that fails is restarted automatically, ensuring persistence of its
service. (PATHMON does not automatically restart a process that the operator has
explicitly stopped.)
Collecting httpd Statistics Using statscom
iTP Secure WebServer performance statistics can be collected from the iTP Secure
Administration WebServer. Because the webserver administrator only can access this
server, it is not possible for normal users to collect webserver statistics. Also, this
process is manual and cannot be automated for scheduled statistics collection.
To overcome these problems, iTP Secure WebServer provides a command-line utility
that uses the statscom command to collect webserver statistics. It eliminates the
need of administration server access for performance data collection. Therefore, any
user can collect webserver statistics. Also, the command-line utility makes automated
processing possible through the use of shell scripts for batch processing.
statscom Command
The statscom command performs the following tasks:
1. Starts the webserver instrumentation.
2. Stops the webserver instrumentation.
3. Checks and reports if the webserver instrumentation is active.
4. Reads the current webserver statistics.
The statscom tool performs the following series of operations when run through the
command line:
1. Finds all httpd processes owned by the specified iTP Secure Webserver
PATHMON/DOMAIN.
2. Opens all httpd processes.
3. Depending on the action requested, sends a specific request message to all httpd
processes and when required, the statistics are returned and submitted in the form
of Comma Separated Values (CSV), which can be viewed using Microsoft Excel.
The timestat script in iTP Secure WebServer's conf directory can be used to collect
webserver statistics with a single command.
Note. This utility is available only on iTP Secure WebServer version released with J06.06 and
later J-series RVUs or H06.17 and later H-series RVUs.