To start the scout program, do the following:
1. Open a command shell window for each instance of scout you want to run.
2. Initialize scout in each window; note that you will not be able to issue any further commands in the window as long as scout is running:
$ scout -server machine... [-basename common_prefix] [-host] [-frequency seconds] [-attention stat/threshold_pair...] [-debug filename]
The -server machine option specifies each File Server machine whose File Exporter is to be monitored. Use one of the following to indicate each File Server machine:
· The machine's DCE path name (for example, /.../abc.com/hosts/fs1). If you use the -basename option to specify a path name prefix common to all machines to be monitored, you need to provide only the unique suffix of each machine name; you can omit the common DCE path name prefix.
· The machine's hostname (for example, fs1.abc.com or fs1).
· The machine's IP address (for example, 11.22.33.44).
The -basename common_prefix option specifies the DCE path name prefix (for example, /.../abc.com/hosts) common to all File Server machines specified with the -server option. Do not include the / (slash) that separates the prefix from the unique part of each machine name; it is included automatically with the -basename option. The basename, if specified, is displayed in the banner line.
Use this option only if you are specifying the DCE path name of each File Server machine to be monitored. Omit this option if you are specifying the host names or IP addresses of one or more machines.
The -host option displays the name of the machine running the scout program in the banner line; this is useful if you are logged into the machine remotely.
The -frequency seconds option indicates how often the scout program is to probe the File Exporters. Specify a positive integer as a value in seconds; the default is 60 seconds.
The -attention stat/threshold_pair option specifies a list of attention settings (statistic and threshold pairs); scout highlights any value for a statistic that exceeds its threshold. (See Setting Attention Thresholds for a discussion of legal values for this argument.)
The -debug filename option enables debugging output and directs it to the specified filename. Provide a complete path name for filename; the current working directory is used by default. If this option is omitted, no debugging output is written.
The following example causes scout to monitor the File Exporters on the File Server machines named fs1 and fs2 in the cell named abc.com; the -basename option is used, so the common DCE prefix is specified only once, and it appears in the banner line. The scout program probes the File Exporters every 30 seconds and prints debugging information to the file named /.../abc.com/fs/usr/terry/scout.one.
$ scout -server fs1 fs2 -basename /.../abc.com/hosts -frequency 30 -debug /.../abc.com/fs/usr/terry/scout.one
The following example again instructs scout to monitor the File Exporters on the machines fs1 and fs2 in the cell abc.com; the -basename option is again used to indicate the common prefix. The -host option is used, so the name of the machine running scout appears in the banner line with the basename prefix. The scout program highlights an entry in the Fetch column if 30,000 or more fetches are sent to the File Exporter; the program highlights an entry in the Store column if 20,000 or more stores are sent to the File Exporter.
$ scout -server fs1 fs2 -b /.../abc.com/hosts -host -attention fetch 30000 store 20000