tail

This command displays the last lines (tail end) of the output of certain show log commands. The number of lines to show can optionally be specified. If not specified, the last 100 lines are shown by default. This is useful for long outputs where you need to scroll all the way down to view the last lines.

Syntax

# tail {cloud-init-log|cloud-manager-log|aws-manager-log|system log} [<lines>]

Command

Description

tail cloud-init-log [<lines>]

Shows cloud-init logs (Mediant Software SBC only).

tail cloud-manager-log [<lines>]

Shows Cloud Manager logs (Mediant Software CE/VE SBC only.

tail aws-manager-log [<lines>]

Shows AWS manager logs (Mediant Software SBC on AWS only).

tail system log [<lines>]

Shows system logs.

tail system log no-sip [<lines>]

Shows system logs without SIP messages.

tail system log persistent [<lines>]

Shows persistent system logs.

Command Mode

Privileged User

Example

This example displays the last 8 lines of the system log output:

# tail system log 8
To: <sip:2000@10.8.5.92>;tag=1c1941351400
Call-ID: 15310103972732022122059@10.8.5.92
CSeq: 11341 REGISTER
Reason: SIP ;cause=500 ;text="IPGroup Registration Mode Configuration"
Content-Length: 0

 [Time:04-04@15:31:48.705]
Apr  4 15:31:48.705 local3.notice [S=783984] [SID=5f4b8a:231:39752]  (N   694002) (#34257)gwSession[Deallocated] [Time:04-04@15:31:48.706]