collect.sh

How to use the collect.sh script.

Purpose

Use the collect.sh script to collect information to send to IBM if, for example, you encounter a problem that you cannot resolve.

To run the command:

$PI_HOME/collect.sh [-t= <topic name> ] [-o=<output_folder>]

For example:

$PI_HOME/bin/collect.sh -t=network /tmp/

You must then send the output to IBM.

If any other files get copied to this directory, they must be sent along with the collect.log file.

Parameters

<topic name>
The name for the new topic. The topic name must be one word between 3 and 10 characters long. It can contain alphanumeric characters and the underscore character.
Note: Topic names are created in uppercase, irrespective of the case you use to specify the topic name. For example, if you specify a topic name of Network, the topic name is created as NETWORK, which you see when you run the show_topics command. However, the topic name is not case sensitive when you specify it as part of any other CLI command.
<directory>

The <directory> parameter is optional. This parameter can be used to specify an alternative location to which scripts output is written.

By default the output is written to a subdirectory of the current directory called: collect_output.

Samples

This sample illustrates the running of the script, plus how to check the output of the script:
cd $PI_HOME/bin
./collect.sh -t=network /tmp/

Checking the output:

ls -l ˜/collect_output/
total 28
-rw-rw-r-- 1 scadmin scadmin 24696 Mar 30 08:40 collect.log