List contents of log
log list [ --all | -p | n=val [--follow| -f] ]
List all contents of the log
List contents of the log with pagination
List the last val lines of the log
Append output as the log file grows. This argument is only valid if invoked interactively.
log list
List the last 30 lines of the log file
log list --all
List all contents of the log file
log list -p
List all contents of the log file with pagination
log list n=10
List the last 10 lines of the log file
log list n=10 --follow
Show last 10 lines in the system log and append output as the log file grows
Note: If invoked interactively, allows the user to browse the contents of the log similar to the Linux 'less' command. If not invoked interactively, lists the whole log or the last n lines of the log.
|
Copyright © 2013 CA.
All rights reserved.
|
|