jgetpar, jtool getpar
You can use jgetpar
to obtain Process Server configuration parameter values from within OS processes.
Note: This tool cannot be used outside of job context. The -j
or -job-context
parameter is implied.
This command allows OS processes that run on a Platform Agent to retrieve configuration parameters that the Process Server has sent to the Platform Agent. These are different from the parameters that the Process Definition has specified. Process Definition parameters are always transmitted to the process using normal variables for the Definition Type.
Note: For installation instructions, see jtool
.
Syntax
jgetpar [-h|-?|-help] [-l <loglevel>] [-f <logfile>] -j|-job-context <parameter>
Argument | Description |
---|---|
-l <loglevel> |
Sets the log level. |
-f <logfile> |
Logs to a file instead of stdout or stderr . |
-j, -job-context | Gets the environment from the job context. |
<parameter>
|
The parameter name. |
Example
The following UNIX shell example shows how to determine the name of the Process Server.
echo This OS Process is running for ProcessServer `jtool getpar ProcessServer`