Mellanox MLNX-OS User Manual for SX1018HP Ethernet Managed Blade Switch
Rev 2.10
Mellanox Technologies
201
Mellanox Technologies Confidential
show log
show log [continues | files [<file-number>]] [[not] matching <reg-exp>]
Displays the log file with optional filter criteria.
Syntax Description continues 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.
files Displays the list of log files.
<file-number> Displays an archived log file, where the number may
range from 1 up to the number of archived log files
available.
[not] matching <reg-exp> The file is piped through a LINUX “grep” utility to
only include lines either matching, or not matching, the
provided regular expression.
Default N/A
Configuration Mode Any Command Mode
History 3.1.0000
Role admin
Example
switch (config) # show log matching INFO
Feb 1 10:57:04 switch clusterd[2659]: [4.193] [clusterd.INFO]: master
browse reply: add service 0x20000 mxyzzy--0002c95ea5d8
_tms_cluster._tcp. local.
Feb 1 10:57:04 switch clusterd[2659]: [4.199] [clusterd.INFO]: master
resolve reply via browse: name mxyzzy--0002c95ea5d8 type
_tms_cluster._tcp. domain local. addr 172.30.2.2 port 60102 ifindex 1
31072
Feb 1 10:57:07 switch SX[2785]: TID 1208106288: [7.746] [hwd.INFO]:
hwd_kernel_interrupt_sim: Entry
Feb 1 10:57:07 switch SX[2785]: TID 1208106288: [7.747] [hwd.INFO]:
hwd_kernel_interrupt_sim: err=0
Feb 1 10:57:07 switch mgmtd[2599]: [7.748] [mgmtd.INFO]: Handling
EVENT request (session 26)
Feb 1 10:57:07 switch mgmtd[2599]: [7.749] [mgmtd.INFO]: EVENT: /sys-
tem/chassis/events/hw-isr-event
Feb 1 10:57:07 switch mgmtd[2599]: [7.750] [mgmtd.INFO]: EVENT: [0]
mask = 0 (uint32)
Feb 1 10:57:07 switch health[2900]: TID 1208104656: [7.751]
[health.INFO]: Received ISR event with mask 0
Feb 1 10:57:07 switch mgmtd[2599]: [7.754] [mgmtd.INFO]: Sending
externally: type event session 36 id 1732128
Feb 1 10:57:07 switch mgmtd[2599]: [7.755] [mgmtd.INFO]: Event sent by
user i:2785-0-0 has been handled
switch (config) #










