Sun Management Center 3.6.1 User's Guide

ProcedureTo Access the CLI in the Solaris or Linux Operating Environment

Before You Begin

Note –

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:


  1. To begin an interactive session, type the command /opt/SUNWsymon/sbin/es-cli followed by any desired global parameters.

  2. Type login in response to the CLI prompt (>).

  3. Type the name of the host to which you wish to connect in response to the Host prompt.

  4. 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.
    >

    Tip –

    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.