Troubleshooting Tools
Accessing the Syslog
6-22
CLI Maintenance Guide
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[5] - share 1: 52% Free
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[5] - share 1 has a place weight of 6
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0]
DPRuleCapacity::Evaluate[ 5] - max skew (0) is smaller than trigger (15%)
Jan 6 16:31:48 sm-5-2 apm-5: ASM_DNAS_POLICY[427]: [D:0] SRO_Queue - Entry added
RuleId(5) VFH ((nil)) fires in (30) seconds.
bstnA6k(gbl)#
Searching the End of the Syslog
The
show
and
grep
commands search from the beginning of the syslog file, starting
with the oldest messages and moving toward the most-recent logs. To skip ahead to
the most-recent logs, use the
tail
option at the end of the
grep
command:
grep
pattern
logs [
filename
] [ignore
ignore-pattern
] tail
number-lines
where
pattern
,
logs
,
filename
, and
ignore
ignore-pattern
are described above,
tail
is required, and
number-lines
(1-4096) is the number of lines to show.
For example, the following
grep
command shows only the 10 most-recent matching
lines in the active syslog:
anchorage(cfg)#
grep LOGMGRD logs syslog tail 10
sm-3-2:2004-05-06T16:04:58.607-0400:3-apm-280:LOGMGRD-0-6(I)-MSG6:Version
0.12.0.4642 (May 05 2004 06:32:09) [eallen] (build 4642) starting up
sm-3-2:2004-05-06T16:04:58.608-0400:3-apm-280:LOGMGRD-0-6(I)-MSG6:Copyright (c)
2002-2004 by Acopia Networks Inc. All rights reserved.
2004-05-06T17:43:58.919-0400:SWITCH:1-1-SCM-425:LOGMGRD-0-6-MSG6:: Version
0.12.0.4652 (May 06 2004 02:29:35) [nbuilds] (build 4652) starting up
2004-05-06T17:43:58.919-0400:SWITCH:1-1-SCM-425:LOGMGRD-0-6-MSG6:: Copyright (c)
2002-2004 by Acopia Networks Inc. All rights reserved.
2004-05-06T17:46:07.707-0400:SWITCH:3-2-ASM-279:LOGMGRD-0-6-MSG6:: Version
0.12.0.4652 (May 06 2004 02:19:13) [nbuilds] (build 4652) starting up
2004-05-06T17:46:07.708-0400:SWITCH:3-2-ASM-279:LOGMGRD-0-6-MSG6:: Copyright (c)
2002-2004 by Acopia Networks Inc. All rights reserved.
Содержание Adaptive Resource Switch
Страница 12: ...2 xii CLI Maintenance Guide...
Страница 62: ...Backing Up the Running Configuration Restoring the Configuration 3 24 CLI Maintenance Guide...
Страница 128: ...Metadata Utilities nsck and sync Clearing All nsck Jobs 5 48 CLI Maintenance Guide...
Страница 206: ...Troubleshooting Network Connections Configuring Port Mirroring 7 32 CLI Maintenance Guide...
Страница 306: ...GUI Maintenance Restarting the GUI 10 4 CLI Maintenance Guide...
Страница 316: ...Powering Down the ARX Restoring Power 11 10 CLI Maintenance Guide...
Страница 318: ...Copyright 2 CLI Maintenance Guide...
Страница 324: ...Index 6 CLI Maintenance Guide...