CLI batch mode can be configured by modifying the cli.properties file located at /opt/SUNWsymon/cli. This file contains nine configurable parameters.
Table 20–1 describes the configurable parameters.
Table 20–1 Parameters to Configure CLI Batch Mode
Parameter |
Description |
Default Value |
---|---|---|
process_time_out |
When this time expires, CLI back end processes will be removed from the system. |
Process time-out 24 hrs process_time_out = 86400 (in seconds) |
uds_dgram_wait_time |
DGRAM client will be waiting for response from the CLI back end process. If the client does not receive any response within the specified time, an error message “Error receiving data from Backend” is displayed. |
UDS DGRAM wait time in seconds uds_dgram_wait_time = 300 |
uds_stream_wait_time |
STREAM client will be waiting for response from the CLI back end process. If the client does not receive any response within the specified time, an error message “Error receiving data from Backend” is displayed. |
UDS STREAM wait time in seconds uds_stream_wait_time = 180 |
out_file |
This file contains the details of the currently running CLI back end processes. The format of this file is <user>:<hostname>:<C Process ID>:<Java Process ID> |
User & process information file out_file = /var/opt/SUNWsymon/cli/process-file |
socket_pathclnt |
This file contains the path of the client broker UDS file. The output of the processed CLI commands is sent to this file. |
Path to uds file socket_pathclnt = /var/opt/SUNWsymon/cli/broker_uds_client_file |
cli_log_path |
This file contains the path of the CLI log files. |
Location of CLI log file cli_log_path = /tmp/sunmclog/cli |
cli_log_file |
Name of the CLI log file. |
Location of backend(broker) log file cli_log_file = /tmp/sunmclog/cli/cli-batch-mode-log |
uds_file_path |
This path contains the location of the STREAM and DGRAM UDS files. |
Path of the uds files uds_file_path = /var/opt/SUNWsymon/cli/ |
log_level |
Specifies the logging level to be used. Set the log level to ERROR for the production environment. Set the log level to INFO for the debugging environment. |
Batch mode log level [options : INFO|ERROR] log_level=ERROR |