Cisco Cisco ASR 5000
Exec Mode show Commands (H-L)
▀ show logs
▄ Command Line Interface Reference, StarOS Release 18
4756
proclet facility
Shows the logs from a specific proclet facility. The available facilities are the same as those listed earlier.
since
from_date_time
[
until
to_date_time
]
Default: no limit.
since
from_date_time
: indicates only the log information which has been collected more recently than
from_date_time
is to be displayed.
until
to_date_time
: indicates no log information more recent than
to_date_time
is to be displayed.
until
defaults to current time when omitted.
from_date_time
and
to_date_time
must be formatted as YYYY:MM:DD:HH:mm or
YYYY:MM:DD:HH:mm:ss. Where:
YYYY = 4-digit year
MM = 2-digit month in the range 01 through 12
DD = 2-digit day in the range 01 through 31
HH = 2-digit hour in the range 00 through 23
mm = 2-digit minute in the range 00 through 59
ss = 2-digit second in the range 00 through 59
to_date_time
must be a time which is more recent than
from_date_time
.
The use of the
until
keyword allows for a time range of log information while only using the
since
keyword will display all information up to the current time.
| { grep
grep_options
| more }
Pipes (sends) the output of this command to the specified command. You must specify a command to which
the output of this command will be sent.
For details on the usage of
the output of this command will be sent.
For details on the usage of
grep
and
more
, refer to the Regulating a Command’s Output section of the
Command Line Interface Overview chapter.
Usage
View log files for general maintenance or troubleshooting system issues.
Example
The following command displays log information for the
a11mgr
facility starting with July 1th, 2011 at
midnight.
show logs facility allmgr since 2011:07:11:00:00
The following command displays the log information for call ID
FE881D32
only in active logs.
show logs active callid FE881D32