Diagnosis Commands
Call up
-
Interactive mode
startcli [-u <user name>] [-p <password>] ... <Option> [<arg>]
bash -
Script mode
startcli [-u <user name>] [-p <password>] --execCommand "<Option> [<arg>]"
bash
Command options
Example
-
Interactive mode
debug on
-
Script mode
startcli -v CLI 7.1.0.4 Copyright (C) Virtimo AG https://www.virtimo.de/ Supported INUBIT Process Engine versions from 4.0.1 to 7.1.0.4. startcli -a <IP address> (<hostname>) startcli --debug
bash
Display Running Processes using CLI
You can use the ps
command to display the details of all processes or to display only specific workflows.
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... ps [option(s)]
bash -
Script mode
startcli --execCommand "ps [option(s)]"
bash
Command options
Example
-
Interactive mode
startcli -u root Password: ps -a CLI|root@be6vw0149> ps -a NODE UID PID PRIO STATE DATE WORKFLOW MODULE TAG __NotAssigned__ jh 7 normal Waiting 2016-05-31T15:42:30 ErrorExit FTP(2120723586) alpha <hostname>.......... miller 8 normal Error 2016-05-31T17:13:15 InvoiceSupplierA Invoice openTRANS .. <hostname>.......... jh 19 normal Error 2016-05-31T17:42:57 ValidationWorkflowCreate_Query(21223.. <hostname>.......... jh 20 normal Error 2016-05-31T17:54:08 Location_Hamburg Wait10m(4) Total: 4
bash -
Script mode
startcli --execCommand "ps -a -csv" Password: NODE,UID,PID,PRIO,STATE,DATE,WORKFLOW,MODULE,TAG __NotAssigned__,jh,7,normal,Waiting,2016-05-31T15:42:30,ErrorExit,FTP(2120723586),alpha <hostname>,miller,8,normal,Error,2016-05-31T17:13:15,InvoiceSupplierA,Invoice openTRANS output(16066), <hostname>,jh,19,normal,Error,2016-05-31T17:42:57,ValidationWorkflow,Create_Query(2122359735), <hostname>,jh,20,normal,Error,2016-05-31T17:54:08,Location_Hamburg,Wait10m(4), Total: 4 startcli --execCommand "ps -a -f 'workflow=Location_Hamburg AND tag=1.4Beta'" NODE UID PID PRIO STATE DATE WORKFLOW MODULE TAG __NotAssigned__ jh 26 normal Waiting 2016-05-31T22:27:42 Location_Hamburg Wait10m(4) 1.4Beta Total: 1
bash
Displaying and Configuring the Database Connection Tolerance
You can use the dbconnectiontolerance
command to both display and set the parameters to configure the disconnection tolerance to the internal databases.
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... dbconnectiontolerance [option(s)]
bash -
Script mode
startcli --execCommand "dbconnectiontolerance [option(s)]"
bash
Command options
Example
-
Interactive mode
startcli CLI|root@be6vw0149> dbconnectiontolerance set interval 180 Error level: 0% Fault threshold: 25 Drop rate: 4% Drop interval (s): 180 seconds
bash -
Script mode
startcli --execCommand "dbconnectiontolerance show" Password: Error level: 0% Fault threshold: 25 Drop rate: 1% Drop interval (s): 180 seconds
bash
System Monitoring Using CLI
You start the commands for system monitoring directly as a CLI option, but in distinction from the script mode without the
execCommand
command.
Call up
startcli [-u <user name>] [-p <Password>] \{Option} [Process-Engine-URL]
bash
If you do not specify a user, If you do not specify a password, you are prompted to enter a password after the program has started. If you do not specify a Process Engine URL, |
Among others, the following commands/options are available:
Example
startcli -who
Password:
SYSTEM-ID SYSTEM TYPE STATE VERSION IDLE
<host name> (<user>) Toolset OK Head 0:00:07s
msgsend inubit_group -s 'Please log out ...' Your Process Engine will switch to
maintenance mode at 6.00 p.m.
bash
Setting Server Trace using CLI
You start the trace
command in interactive mode after being logged in to the CLI.
Call up
startcli [-u <user name>] [-p <password>] [Process Engine URL]
bash
The following commands/options are available:
Example
Execute the following commands to set the Trace level to error
, to switch the Server trace on
, and to display the current trace state.
startcli -u root Password: trace -l error Successfully changed level to ERROR trace on trace Trace is currently on.
bash
Getting the Blocking Queue Size Using the CLI
The blocking queue size is configured in the logsDbConfig.xml
file.
The value is based on how the workflows are designed and executed.
The size of the blocking queue at any given point of time should be known to decide on the actual size of the queue.
This CLI command is required to get the current value of the blocking queue size.
Call up
-
Interactive mode
startcli [-u <user account>] [-p <password>] ... getBlockingQueueSize [option(s)]
bash -
Script mode
startcli --execCommand "getBlockingQueueSize [option(s)]"
bash
Command options
-h
, --help
Displays the help.
Return value
The current size of the blocking queue as an integer value.
Example
-
Interactive mode
startcli CLI|root@localhost> getBlockingQueueSize 100
bash -
Script mode
startcli --execCommand "getBlockingQueueSize" 100
bash