|
Configuration
of BackupProcessTest
The BackupProcessTest reports a variety of CPU and memory
statistics pertaining to a specified process pattern. The default parameters associated with this test are as follows:
-
In the PROCESS text box, enter a
comma separated list of names:pattern pairs which identify the
process(es) associated with the server being considered. processName
is a string that will be used for display purposes only.
processPattern is an expression of the form - *expr* or expr or *expr
or expr* or *expr1*expr2*... or expr1*expr2, etc. A leading '*'
signifies any number of leading characters, while a trailing '*'
signifies any number of trailing characters. For example, for
an iPlanet application server (Nas_server), there are three processes
named kcs, kjs, and kxs associated with the application server. For
this server type, in the PROCESS text box, enter "kcsProcess:*kcs*,
kjsProcess:*kjs*, kxsProcess:*kxs*, where * denotes zero or more
characters. Other
special characters such as slashes (\) can also be used while defining
the process pattern. For
example, if a servers root directory is /home/egurkha/apache
and the server executable named httpd exists in the bin directory,
then, the process pattern is */home/egurkha/apache/bin/httpd*.
To
determine the process pattern to use for your application, on
Windows environments, look for the process name(s) in the Task
Manager -> Processes selection. To determine the process pattern
to use on Unix environments, use the ps command (e.g., the command
"ps -e -o pid,args" can be used to determine the processes
running on the target system; from this, choose the processes of
interest to you).
When changing the
configuration for specific servers, a * beside the text box
corresponding to the parameter signifies that these values have to be
manually configured by the user. The parameter values that require to
be configured will typically be prefixed with a $ or contain a
series of *. A value of "none"
in the parameter value indicates that the corresponding parameter
value can be changed if required.
Note:
An
optional "-wide <true/false>" parameter can be provided
to ProcessTest (by editing the <EG_INSTALL_DIR>/manager/config/
eg_specs.ini file). This parameter is valid on Solaris systems only. If
the value of the "wide" parameter is true, the eG agent will
use "/usr/ucb/ps" instead of "/usr/bin/ps" to search
for processes executing on the host. On Solaris, /usr/ucb/ps provides a
long output (> 80 characters), whereas /usr/bin/ps only outputs the
first 80 characters of the process path and its arguments.
|