Siebel Server Administration Guide > Using Siebel Diagnostic Data Collector > Running the Siebel Diagnostic Data Collector >

Running Siebel Diagnostic Data Collector on UNIX


Before running the Siebel Diagnostic Data Collector command on UNIX, complete the following procedure.

To prepare environment to use Siebel Diagnostic Data Collector

  1. Run a database-specific script to set database environment variables.
  2. Run the siebenv.sh or siebenv.csh scripts to set Siebel environment variables. For more information on these scripts, see the Siebel Server Installation Guide for the operating system you are using.
  3. Change the permissions to execute Siebel Diagnostic Data Collector.

After the environment is set, use the following commands for running Siebel Diagnostic Data Collector on UNIX.

To collect Siebel Server information

  1. Enter the siebsnap command using the -s flag and, as necessary, parameters listed in Table 46 as shown in the following example:
  2. siebsnap -s siebel_server_name

  3. Review the collected information in the siebsrvr_machine-name_server-name output directory.

To collect Siebel Gateway information

  1. Enter the siebsnap command using the -g flag and, as necessary, parameters listed in Table 46 as shown in the following example:
  2. siebsnap -g siebel_gateway_name

  3. Review the collected information in the machine-name_gateway output directory.

To collect Web server and SWSE information

  1. Enter the siebsnap command using the -w flag and, as necessary, parameters listed in Table 46 as shown in the following example:
  2. siebsnap -w webserver_root

  3. Review the collected information in the machine-name_webserver-name output directory.

NOTE:  Alternatively, use this_server in place of the Siebel Gateway name, Siebel Server name, or the Web server name when using Siebel Diagnostic Data Collector on UNIX.

Table 46.  Siebel Diagnostic Data Collector Parameters on UNIX
Parameter
Description
-g siebel_gateway_name
Append the parameter -g with the name of the Siebel Gateway to collect information on the Siebel Gateway. Alternatively, use -g this_server.
-s siebel_server_name
Append the parameter -s with the name of the Siebel Server to collect information on a Siebel Server. Alternatively, use -s this_server.
-w webserver_root
Append the parameter -w with the path of the Web server root to collect information on the SWSE and Web server. Alternatively, use -w this_server.
-u user_name
User name for a Siebel Server. This parameter is valid only with the -s parameter. The User Name parameter, used in conjunction with the password parameter, can only be used if the Siebel Server is running. It returns information on server component parameters.
-p password
Password for a Siebel Server. This parameter is valid only with the -s parameter. The Password parameter, used in conjunction with the User Name parameter, can only be used if the Siebel Server is running. It returns information on server component parameters.
-l1
Collects Siebel logs for the current session.
-l2
Collects Siebel logs for current session and earlier sessions (archives); Siebel asserts and prefer files; and core files and stack trace.
-o directory
Saves the output from the Siebel Diagnostic Data Collector in the directory specified. If this parameter is not specified, the output is stored in the directory where the Siebel Diagnostic Data Collector utility is invoked.
-help
Use this parameter with the siebsnap command to list information on Siebel Diagnostic Data Collector and its parameters.

Sample UNIX Siebel Diagnostic Data Collector Commands

Some samples of UNIX Siebel Diagnostic Data Collector commands follow.


 Siebel Server Administration Guide 
 Published: 23 June 2003