6-190
Cisco SFS 7000 Series Product Family Command Reference Guide
OL-9163-02
Chapter6 Show Comma nds
show logging
show logging
To display the active system log file, enter the sho w logging command in User Exec mode or Privileged
Exec mode.
show logging
[
end
]
Syntax Description
Defaults This command has no default settings.
Command Modes User Execute mode, Privileged Execute mode.
Usage Guidelines Platform Availability:
Cisco SFS 3001, Cisco SFS 7000, Cisco SFS 7008, Cisco SFS 3012, Cisco 4x InfiniBand Switch Module
for IBM BladeCenter
Privilege Level:
General read-only user.
Use this command to view any of the following:
warnings
errors
notifications
alerts
You may want to set the number of lines displayed per screen using the
terminal length
command.
You can also use the
more
command on ts_log instead of the
show logging
command.
The
show logging end
command is the equivalent of using the UNIX tail -f command. The CLI
continues to display log entries as they occur until you enter Ctrl-c. No other CLI commands may b e
entered until Ctrl-c is used to stop the log display.
We recommend that you set the terminal page length to 0 when using the end argument. Otherw ise, you
need to press the space bar to continue each time the maximum display le ngth is reached. After you set
the page length, do not change the terminal window size. Changing window size restores the terminal
length to that of the window and restarts paging.
The system log file on the chassis controller is /var/log/topspin.
end (Optional) Displays approximately the last 10 entries in the system log and
then continues to display log entries as they occur.