Siebel System Administration Guide > Using the Siebel Server Manager Command-Line Interface > Siebel Server Manager Commands >

Siebel Server Manager Environment Commands


Use environment commands to set the Siebel Server Manager environment variables, which control the current Siebel Server Manager session.

To set the current working Siebel Server

  • Enter:

    set server siebel_server_name

    This command works only if you did not specify a Siebel Server when executing the srvrmgr program by using the -s flag.

To unset (clear) the current working Siebel Server

  • Enter:

    unset server

    This command works only if you did not specify a Siebel Server when executing the srvrmgr program by using the -s flag.

To show the environment variables

  • Enter:

    show

To show an individual environment variable

  • Enter:

    show variable_name

To spool output to a file

  • Enter:

    spool output_file

To stop spooling to a file

  • Enter:

    spool off

To read commands from a file

  • Enter:

    read input_file

To refresh the Siebel Enterprise Server connections

  • Enter:

    refresh enterprise

    The refresh Siebel Enterprise Server command closes all connections to the existing Siebel Servers and creates new connections to these servers.

To remove header and footer information from srvrmgr command-line output

  • Enter:

    set header false

    and

    set footer false

Removing the header and footer information is useful if you are trying to parse the output of srvrmgr commands.

To add header and footer information to the srvrmgr command-line output

  • Enter:

    set header true

    and

    set footer true

To exit the Srvrmgr program

  • Enter:

    exit

    or

    quit

To save any configuration changes prior to exiting, see To back up Siebel Gateway Name Server information.

Siebel System Administration Guide