Table Of Contents
File Commands
Revised: July 22, 2009, OL-19335-01This chapter contains the following file commands:
file list log
file list log file-spec [page | detail | reverse | [date | size]
Syntax Description
Command Default
No default behavior or values.
Command Modes
Admin
Command privilege level: 4
Command History
Usage Guidelines
Use this command to list logging files.
Examples
admin:file list log sysop detail24 Apr,2009 01:26:06 4 sysop.bin24 Apr,2009 01:23:34 67 sysop00000.log24 Apr,2009 17:30:49 7,324 sysop00001.logdir count = 0, file count = 3file list nvboot
file list nvboot file-spec [page | detail | reverse | date | size]
Syntax Description
Command Default
No default behavior or values.
Command Modes
Admin
Command privilege level: 4
Command History
Usage Guidelines
Use this command to list NV bootlog files.
Examples
admin:file list nvboot . detail09 Nov,2008 03:59:56 46,150 cfsync.log09 Nov,2008 03:59:57 34,858 cfupgrade.log09 Nov,2008 04:00:01 132,641 rc.log09 Nov,2008 03:59:58 23,152 uiNotification.log28 Oct,2008 17:55:48 34,604 upgPeripheral.logdir count = 0, file count = 5file tail log
file tail log {file-spec [hex]}
Syntax Description
Command Default
No default behavior or values.
Command Modes
Admin
Command privilege level: 4
Command History
Usage Guidelines
Use this command to tail the contents of a file in the logging area. Press Control-C to stop the command.
Examples
admin:file tail log sysop/sysop00001.logRx Pkts Late 0Rx Pkts AuthFail 0Rx Jitter/Call 0Rx Jitter/Period 0Control-C pressedfile tail nvboot
file tail nvboot {file-spec [hex]}
Syntax Description
Command Default
No default behavior or values.
Command Modes
Admin
Command privilege level: 4
Command History
Usage Guidelines
Use this command to tail the contents of a file in the NV bootlog area. Press Control-C to stop the command
Examples
admin:file tail nvboot rc.logStarting keyExchange... DONEStarting cca...Starting cca... DONEStarting HDMI Monitor Main Rx.......trimming bootlog filesfile /nv/bootlog/cfsync.log trimmed to 985 linesfile /nv/bootlog/cfupgrade.log trimmed to 995 linesfile /nv/bootlog/upgPeripheral.log left at 993 linesfile /nv/bootlog/uiNotification.log trimmed to 999 linesfile /nv/bootlog/rc.log trimmed to 3996 linesControl-C pressedfile view log
file view log {file-spec [hex]}
Syntax Description
Command Default
No default behavior or values.
Command Modes
Admin
Command privilege level: 4
Command History
Usage Guidelines
Use this command to view the contents of a file in the logging area. To view the data, use the following keystroke controls:
•
Enter key; Move forward one line
•
Space bar: Move forward one page
•
b: Move backward one page
•
s : Move to the start of the file
•
e: Move to the end of the file
•
q: Quit the command
Examples
admin:file view log sysop/sysop00001.log2008-10-27 22:19:04,261 - admin CLI login from 191.74.232.125:437762008-10-27 22:19:06,651 - admin CLI logout (forced) from 191.74.232.125:437762008-10-27 22:19:43,262 - build UI version mismatch. phone:1.0.7, cts:1.0.82008-10-27 22:20:08,686 - CTL updated....2008-10-27 22:46:07,205 - Local Hold2008-10-27 22:46:08,412 - Resume CallMore data : enter, space, b, s, e or qfile view nvboot
file view nvboot {file-spec [hex]}
Syntax Description
Command Default
No default behavior or values.
Command Modes
Admin
Command privilege level: 4
Command History
Usage Guidelines
Use this command to view the contents of a file in the NV bootlog area. To view the data, use the following keystroke controls:
•
Enter key; Move forward one line
•
Space bar: Move forward one page
•
b: Move backward one page
•
s : Move to the start of the file
•
e: Move to the end of the file
•
q: Quit the command
Examples
admin:file view nvboot rc.log---NEXT_ENTRY---*** Processing rcSSun Jan 1 00:00:00 GMT 2006*** Mounting proc....Creating CiscoSyslogFifoStarting /usr/sbin/syslogdMore data : enter, space, b, s, e or q