If the console is not installed in the default /opt directory, the CLI application will not start. In this case, start the CLI application by either of the following ways:
After installation, change the location of the add-ons in the cli.properties file to correctly point to the installed location.
Create the /opt/SUNWsymon/cli/addons directory.
To begin an interactive session, type the command /opt/SUNWsymon/sbin/es-cli followed by any desired global parameters.
Type login in response to the CLI prompt (>).
Type the name of the host to which you wish to connect in response to the Host prompt.
Type your login name and password in response to the Login and Password prompts.
The result of steps 1-4 resembles the following example:
/opt/SUNWsymon/sbin/es-cli parameters > login Host: myhost Login: mylogin Password: mypassword Login is successful. > |
You can run the CLI in batch mode using a previously prepared file of CLI commands as input by using the following command: /opt/SUNWsymon/sbin/es-cli -b file.