226 TimeCreator 1000 User’s Guide 097-93100-01 Revision C – February, 2010
Appendix B Command Descriptions and Communications Interface
CLI Commands
Show Log
This command displays the specified log file from the local storage. The Index
parameter selects one of the rotated log files. The Head parameter, along with the
count value, displays the specified number of events from the beginning of the file.
The Tail parameter, along with the count value (#), displays the specified number of
events from the end of the file. If the Index is not specified or set to zero, the current
log file is displayed. If neither Head nor Tail parameter is issued, the 20 most recent
entries are displayed. the command display the specified log’s user provisioned line
buffer size and total number of lines buffered. The log files are:
Performance Log - log of performance monitoring data
NTP Log
Alarm Log
Event Log
Command Log
Security Log
Command Syntax:
show log {performance|ntp|alarm|event|command|security}
[index {head|tail} count]
Example:
To display the last five entries from the alarm log -
tc1000>show log event index tail 5
Response:
Jan 20 22:17:08 admin alarmMgr: Output Port 6 cable is disconnected
Jan 20 22:17:08 admin alarmMgr: Output Port 11 cable is disconnected
Jan 20 22:17:08 admin alarmMgr: Output Port 12 cable is disconnected
Jan 20 23:21:10 admin alarmMgr: Jam sync required
Jan 20 23:26:51 admin alarmMgr: Jam sync completed
Related: set log
Level : User, Power-User and Admin