Show Log - Mellanox Technologies Mellanox SX1018 Command Reference Manual

Ethernet managed blade switch
Hide thumbs Also See for Mellanox SX1018:
Table of Contents

Advertisement

show log

show log [continues | files [<file-number>] ] [ [not] matching <reg-exp>]
Displays the log file with optional filter criteria.
Syntax Description
continues
files
<file-number>
[not] matching <reg-exp>
Default
N/A
Modes/Context
Any Command Mode
History
3.1.0000
Role
admin
Example
switch (config) # show log matching INFO
Feb
browse reply: add service 0x20000 mxyzzy--0002c95ea5d8
_tms_cluster._tcp. local.
Feb
resolve reply via browse: name mxyzzy--0002c95ea5d8 type
_tms_cluster._tcp. domain local. addr 172.30.2.2 port 60102 ifindex 1
31072
Feb
hwd_kernel_interrupt_sim: Entry
Feb
hwd_kernel_interrupt_sim: err=0
Feb
EVENT request (session 26)
Feb
tem/chassis/events/hw-isr-event
Feb
mask = 0 (uint32)
Feb
[health.INFO]: Received ISR event with mask 0
Feb
externally: type event session 36 id 1732128
Feb
user i:2785-0-0 has been handled
switch (config) #
Displays the last few lines of the current log file and
then continues to display new lines as they come in
until the user hits Ctrl+C, similar to LINUX "tail" util-
ity.
Displays the list of log files.
Displays an archived log file, where the number may
range from 1 up to the number of archived log files
available.
The file is piped through a LINUX "grep" utility to
only include lines either matching, or not matching, the
provided regular expression.
1 10:57:04 switch clusterd[2659]: [4.193] [clusterd.INFO]: master
1 10:57:04 switch clusterd[2659]: [4.199] [clusterd.INFO]: master
1 10:57:07 switch SX[2785]: TID 1208106288: [7.746] [hwd.INFO]:
1 10:57:07 switch SX[2785]: TID 1208106288: [7.747] [hwd.INFO]:
1 10:57:07 switch mgmtd[2599]: [7.748] [mgmtd.INFO]: Handling
1 10:57:07 switch mgmtd[2599]: [7.749] [mgmtd.INFO]: EVENT:
1 10:57:07 switch mgmtd[2599]: [7.750] [mgmtd.INFO]: EVENT: [0]
1 10:57:07 switch health[2900]: TID 1208104656: [7.751]
1 10:57:07 switch mgmtd[2599]: [7.754] [mgmtd.INFO]: Sending
1 10:57:07 switch mgmtd[2599]: [7.755] [mgmtd.INFO]: Event sent by
Mellanox Technologies
Rev 1.6.2
/sys-
126

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sx1018hp

Table of Contents