Running Commands

From the command line or in a batch or shell file, execute commands with the required global and optional global arguments plus any necessary options.

Example Command

Here is an example of a CLI command using the getResources command and a Tomcat application server default port:

serenara-client -weburl "http://serverName:8080/serena_ra" 
    -username admin -password admin getResources 
Note: CLI commands do not support new lines. Sample entries are broken for display purposes only.
Tip:

The command line client is a Java application. You may need to set your JAVA_HOME environment variable to run the commands from the command line. For example:

JAVA_HOME=C:\Program Files\Serena\common\jre\8.0