Command 'monitoring'

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
| Petals BC SOAP | [Outgoing WS request counters|#petals-bc-soap-outgoing-ws-requests-count] | {{-o petals-bc-soap -f outgoing-ws-requests-count}} |
| Petals BC SOAP | [Outgoing WS request response times|#petals-bc-soap-outgoing-ws-requests-response-times] | {{-o petals-bc-soap -f outgoing-ws-requests-response-times}} |
| Petals SE Activiti | [Asynchronous job executor thread pool|#petals-se-activiti-async-executor-thread-pool] | {{-o petals-se-activiti -f async-job-executor-thread-pool}} |
| Local transporter | [Delivered messages|#local-transporter-delivered-messages] | {{-o local-transporter -f delivered-messages}} |
| Remote transporter | [Outgoing connection pools|#remote-transporter-outgoing-connection-pool] | {{-o tcp-transporter -f outgoing-connections}} |
{code}

h3. Petals SE Activiti

h4. {anchor:petals-se-activiti-async-executor-thread-pool}Asynchronous executor thread pool

Several metrics about the asynchronous executor thread pool of the Activiti engine are available through the sub function '{{async-job-executor-thread-pool}}' of the monitored object '{{petals-se-activiti}}'. It's usage is:
{code}
-n <component-name>
{code}
where '{{<component-name>}}' is the unique name of the Petals SE Activiti with which it was deployed.
Returned metrics are:
* {{ActiveThreadsMax}}, the maximum number of active threads,
* {{ActiveThreadsCurrent}}, the current number of active threads,
* {{IdleThreadsMax}}, the maximum number of idle threads,
* {{IdleThreadsCurrent}}, the current number of idle threads,
* {{MaxSize}}, the maximum size of the thread pool,
* {{MinSize}}, the minimum size of the thread pool,
* {{EnqueuedRequestsMax}}, the maximum number of requests that are enqueued waiting a thread to be processed,
* {{EnqueuedRequestsCurrent}}, the current number of requests that are enqueued waiting a thread to be processed.

{code}
> ./petals-cli.sh -h localhost -n 7700 -u petals -p petals -c -- monitoring -o petals-se-activiti -f async-job-executor-thread-pool -- -n petals-se-activiti
ActiveThreadsMax:0 ActiveThreadsCurrent:0 IdleThreadsMax:1 IdleThreadsCurrent:1 MaxSize:10 MinSize:2 EnqueuedRequestsMax:0 EnqueuedRequestsCurrent:0
{code}

h2. Petals Container