AB291A Fabric Clustering System Support Guide (12-port Switch), April 2004

Table Of Contents
HP 12-Port 4X Fabric Copper Switch Commands
Show Commands
Appendix B
209
show logging
Synopsis:
Theshow logging command displays the active system log file in which are recorded the warnings, errors,
notifications, alerts, etc. that occur once the system is successfully booted.
Syntax:
show logging [end]
The syntax is described in the table below:
Command Modes:
User-execute and privileged-execute modes.
Privilege Level:
General read-only user.
Usage Guidelines:
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 be entered until
<Ctrl>-c is used to stop the log display.
It is recommended you set the terminal page length to 0 when using the end argument. Otherwise, you will
have to keep pressing the <space> bar to continue each time the maximum display length is reached. Once
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.
Examples:
HP-IB# show logging end
Jan 3 11:09:58 igr-cc ib_sm.x[597]: [INFO]: Successfully add pgid
fe800000000000000005ad0000001199 to mgid ff18a01b00000000000005ad00000002
Jan 3 17:02:56 igr-cc port_mgr.x[535]: [INFO]: port down - port=16/7, type=ib4xFX
Jan 3 17:02:58 igr-cc port_mgr.x[535]: [INFO]: port up - port=16/7, type=ib4xFX
Jan 3 18:21:46 igr-cc port_mgr.x[535]: [INFO]: port down - port=16/2, type=ib4xFX
Jan 3 18:21:48 igr-cc port_mgr.x[535]: [INFO]: port up - port=16/2, type=ib4xFX
Table B-34 show logging Command Syntax Description
Syntax Description
show logging without the end argument displays the entire active log-file.
end Displays approximately the last 10 entries in the system log and then continues to display log entries as
they occur.