The DASCLI wait command waits until a condition is true.

Parameters

dascli wait condition [timeout]

No parameter
If no parameter is specified, the possible wait options are shown.
condition
Condition to be evaluated. Specify one of the following values:
Value Condition Name Description
active CMD_REQUIRES_NONE Wait until the agent is active.
analysis CMD_REQUIRES_CONNECTION Wait until file analysis is idle.
connected CMD_REQUIRES_CONNECTION Wait until the agent is connected to the server.
events CMD_REQUIRES_CONNECTION Wait until all events are sent.
files CMD_REQUIRES_CONNECTION Wait until all file reports are sent.
initialized CMD_REQUIRES_CONNECTION Wait until the initialization is complete.
rulesexpanded CMD_REQUIRES_AUTHENTICATION Wait until rules are expanded and sent to the kernel.
timeout
Number of seconds to wait until the condition is true. If this option is not included, the wait command has not timeout and will wait indefinitely until the condition is met.