How to Use the Tail Utility

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:

1.Use the System Select screen to select the system you want to work with.

2.From the Dashboard menu, select Cisco Common Tools > Tail.

3.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.

4.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.

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

6.Click the Run button.

Using Tail

Tail displays the last <count> lines of each of the files listed on the line. If no files are listed, display the last <count> lines of the standard input.

<count> defaults to 10.

Syntax

tail [-<count> -n <count>] [-fvx?] [ file1 ... ]

Command Line Options

The options for Tail are:

-<count> or -n <count>: specifies the number of lines to display.

Cisco Support Tools 1.0 User Guide

How to Use the Tail Utility 266

Page 266
Image 266
Cisco Systems 1.0 (1) manual How to Use the Tail Utility, To Access Tail from the Dashboard, Using Tail