S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
22-6
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 22 Show Commands
show accounting log
show accounting log
To display the accounting log contents, use the
show accounting log
command.
show accounting log
[
size
]
Syntax Description
Defaults
None.
Command Modes
EXEC mode.
Command History
Usage Guidelines
None.
Examples
The following example displays the entire accounting log:
switch#
show accounting log
2002:stop:snmp_1033151784_171.71.49.83:admin:
Fri Sep 27 18:36:24 2002:start:_1033151784:root
Fri Sep 27 18:36:28 2002:update:::fcc configuration requested
Fri Sep 27 18:36:33 2002:start:snmp_1033151793_171.71.49.83:admin
Fri Sep 27 18:36:33 2002:stop:snmp_1033151793_171.71.49.83:admin:
Fri Sep 27 18:39:28 2002:start:snmp_1033151968_171.71.49.96:admin
Fri Sep 27 18:39:28 2002:stop:snmp_1033151968_171.71.49.96:admin:
Fri Sep 27 18:39:28 2002:start:_1033151968:root
Fri Sep 27 18:39:31 2002:update:::fcc configuration requested
Fri Sep 27 18:39:37 2002:start:snmp_1033151977_171.71.49.96:admin
Fri Sep 27 18:39:37 2002:stop:snmp_1033151977_171.71.49.96:admin:
Fri Sep 27 18:39:37 2002:start:snmp_1033151977_171.71.49.96:admin
Fri Sep 27 18:42:12 2002:start:snmp_1033152132_171.71.49.96:admin
Fri Sep 27 18:42:12 2002:stop:snmp_1033152132_171.71.49.96:admin:
Fri Sep 27 18:42:12 2002:start:snmp_1033152132_171.71.49.96:admin
Fri Sep 27 18:42:40 2002:start:snmp_1033152160_171.71.49.96:admin
...
The following example displays 400 bytes of the accounting log:
switch#
show accounting log 400
Tue Dec 8 22:06:59 1981:start:/dev/pts/2_376697219:admin:
Tue Dec 8 22:07:03 1981:stop:/dev/pts/2_376697219:admin:shell terminated
Tue Dec 8 22:07:13 1981:start:/dev/pts/2_376697233:admin:
Tue Dec 8 22:07:53 1981:stop:/dev/pts/2_376697233:admin:shell terminated
Tue Dec 8 22:08:15 1981:update:/dev/ttyS0_376628597:admin:iSCSI Interface Vsan Enabled
size
Specifies the size of the log to display in bytes. The range is 0 to 250000.
Release
Modification
2.0(x)
This command was introduced.