Cisco Systems 2.1(1) Using WC Command Line Options, To Access Which from the Dashboard, 233

Models: 2.1(1)

1 287
Download 287 pages 15.85 Kb
Page 247
Image 247

Chapter 14: Using 3rd Party Common Tools

which

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

Note: When entering arguments, the wc 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.

Using WC - Command Line Options

wc [ -lwc? ] [ file1 ... ]

The default is for wc to count lines, words, and characters for each file given. Counting can be restricted to one or more of lines, words, or characters by using the command line options below:

-l: Enable counting for lines.

-w: Enable counting for words.

-c: Enable counting for characters.

If no files are given, standard input is read for characters.

-?: Display program description.

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

which

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 Which utility to view the name of the first file encountered while traversing a path or directory tree.

To Access Which from the Dashboard

To run Which from the Support Tools Dashboard:

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

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

233

Page 247
Image 247
Cisco Systems 2.1(1) manual Using WC Command Line Options, To Access Which from the Dashboard, 233