Adabas Analytics Command Line Interface

The Adabas Analytics command line interface is used to get status information about the Adabas Analytics Server, as well as dynamically enable/disable the use of sinks and processors.

Note:
The command line interface does not require an Adabas Analytics environment, which means that it is independent of any settings in ealenv and/or sagenv.new.


Using the Command Line Interface

Starting the Command Line Interface on Windows

Open a command prompt from the Windows start menu and change to the directory where the executable jar file is located (default: bin directory of the EAL package).

In the command prompt, enter the command:

java -jar ealcli-2.2.0.0-all.jar

Alternatively, you can use the script:

ealcli

Starting the Command Line Interface on Windows

Change to the directory where the executable jar file is located (default: bin directory of the EAL package).

Enter the command:

java -jar ealcli-2.2.0.0-all.jar

Alternatively, you can use the script:

ealcli.sh

Usage of the Command Line Interface

The command line interface supports the following commands and options:

usage: [ {-p | --pretty} ] [ {-q | --quiet} ] [ {-v | --verbose} ]
       [ {-t | --target} <host[:<port>]>
       <command> [ <args> ]

where:

-p, --pretty

Returns formatted output - so-called pretty print.

-q, --quiet

Only error levels will be returned.

-v, --verbose

Returns HTTP requests and response information.

-t, target <host[:port]>

Sends the command to the Adabas Analytics Server; the default HTTP port number is 6522.

The following commands are supported:

Command Use
status Displays the status of the Adabas Analytics Server.
list Lists a set of processors or sinks.
disable Disables a set of processors or sinks.
enable Enables a set of processors or sinks.
shutdown Initiates a shutdown of the Adabas Analytics Server.
<args>

The arguments of a command. Use help<command> to get more information about a specific command, for example:

    ... \AdabasAnalytics\bin>ealcli help disable
NAME
        ealcli disable - - disables a set of processors or sinks
SYNOPSIS
        ealcli [ {-v | --verbose} ] [ {-t | --target} <host[:<port>]> ]
                [ {-q | --quiet} ] [ {-p | --pretty} ] disable { processors | sinks }
                [--] <cmd-args>
        Where command-specific arguments <cmd-args> are:
            processors: [ <processor_1> <processor_2> <...> <processor_n>... ]
            sinks: [ <sink_1> <sink_2> <...> <sink_n>... ]
        See 'ealcli help disable <command>' for more information on a specific command.
OPTIONS
        -p, --pretty
            Pretty prints Adabas Analytics Server responses
        -q, --quiet
            Will suppress all outputs to standard output and standard error
        -t <host[:<port>]>, --target <host[:<port>]>
            Host and port of the target machine. It must have the form of
            <host>[:<port>]
        -v, --verbose
            Will show all HTTP requests/responses sent to/received from the
            Adabas Analytics Server