Chapter 14: Using 3rd Party Common Tools

tail

Using Strings - Command Line Options

Strings displays printable ASCII strings in the binary files specified on the command line. If no files are given, it displays printable ASCII strings in the standard input.

strings [ -? ] [ -t <n>] [ -n <n>] [ file1 ... ]

The options for strings are:

-t <n>: specifies the minimum length that a terminated string needs to be before it is printed (default 4).

-n <n>: specifies the minimum length that a non-terminated string needs to be before it is printed (default 8).

-?: Display program description.

Note: If the environment variable STRINGS exists, its value is used to establish default options.

tail

Note: This tool can be used in both Interactive Mode and Batch Mode. For details on scheduling this tool to run in batch mode see Using Batch Mode.

Use the Tail utility to view user-defined number of lines from end of a file.

To Access Tail from the Dashboard

To run Tail from the Support Tools Dashboard:

Step 1 In the Arguments field, enter desired arguments, as described in the Using section below.

Note: When entering arguments, the Tail command is already implied. Do not enter it in the Arguments field.

Step 2 Specify the command duration time or accept the default (60 seconds). This is the amount of time the command will attempt to run before terminating.

Step 3 If desired, check Elevate Command Priority. This ensures the command will run regardless of the level of server activity.

Step 4 Click the Run button.

Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)

229

Page 243
Image 243
Cisco Systems 2.1(1) manual Using Strings Command Line Options, To Access Tail from the Dashboard, 229