Fujitsu P3NK-4452-01ENZD Manual De Usuario

Descargar
Página de 614
XG Series User's Guide
Chapter 5 Command Reference
Mode and Terminal Operation Commands
352
5.17.5.2 tail
Function
Display the last part of command output.
Available Model
XG0224 / XG0448 / XG2600
Syntax
<command> | tail [<lines>]
Options
<command>
Specify a command to execute.
<lines>
Specify the number of lines to be displayed with a decimal number from 1 to 1000.
The default is 10 lines.
Use Mode
Operation mode (user class/admin class)
Configuration mode (admin class)
Explanation
Execute the specified command, and display the last output of the command by the 
specified number of lines.
If the output of the specified command does not reach the specified number of lines, all 
output will be displayed.
If the pager 
 is enabled, the pager will act for the output 
(the last output part of the specified command) of this command.
Caution
Enter a space character before and after a command pipe character ("|"). A command 
pipe character can be specified only once, and the 
 command can be specified only 
once.
A sentence up to a new-line character is assumed to be one line. A statement that is too 
long is divided into multiple lines on the screen, and the number of lines specified in the 
argument may not match that of lines on the screen.
Specifying a command that requires a long time to execute, may result in a long wait time 
until the command output.
This command acts for a "display" command such as the "show" command.
It displays all the command output for a control command such as the 
 command.
Execution Example
# show logging syslog | tail 3                                                        
Dec 08 15:19:27 192.168.1.1 XG2600: mstpd: Topology Change detected               
Dec 08 15:19:47 192.168.1.1 XG2600: sshd: generated public/private host key pair.       
Dec 08 15:19:52 192.168.1.1 XG2600: logon: login admin on console                 
#