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 the following command:

    set server siebel_server_name

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

To unset (clear) the current working Siebel Server

  • Enter the following command:

    unset server

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

To show the environment variables

  • Enter the following command:

    show

To show an individual environment variable

  • Enter the following command:

    show variable_name

To spool output to a file

  • Enter the following command:

    spool output_file

To stop spooling to a file

  • Enter the following command:

    spool off

To read commands from a file

  • Enter the following command:

    read input_file

To refresh the Siebel Enterprise Server connections

  • Enter the following command:

    refresh enterprise

    The refresh enterprise command closes all of the 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 the following command:

    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 the following command:

    set header true

    and

    set footer true

To exit the srvrmgr program

Siebel System Administration Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.