Console Server Features
Event Port Logging
3-2
3.2 Event Port Logging
Port logging saves all idle data from an SCS serial port in a log file. This log file can be accessed by a system
administrator after a system crash, and can provide valuable information about the cause of and solution for
any problems with the attached serial device.
If email notification (discussed in
Email Alerts for Serial Events
on page 3-3) is enabled, the serial log can
be sent via email to the system administrator.
3.2.1 Enabling Port Logging
Enable port logging with the
Set/Define Ports Serial Log
command. This command sets the file size for
the log file, which can be up to 250 Kbytes. To disable the log file, enter a file size of 0.
Figure 3-2:
Saving Serial Data to a Logfile
Note:
This command sets port access to Access Remote.
The log file is stored on the SCS /ram disk in the form
/ram/Port_xx.log
where
xx
is the port number. When
the file reaches its specified limit, it is truncated to half its current size and begins logging again. The oldest
data is discarded.
When the SCS is rebooted, the data stored in the log file is lost.
3.2.2 Viewing the Port Log
This section describes three methods for retrieving port logs.
3.2.2.1 Telnet/Serial Login
To retrieve the port log using Telnet, SSH, or terminal login:
1
At a
Local_n
>prompt, type
disk ls
to see the files. The file is
Port_nn
by default, where nn is the
port number.
2
To view the entire log, type
disk cat port_nn.log
.
Note:
You can use other Unix commands, such as tail and top.
3.2.2.2 Web Interface
To retrieve the port log using the web browser interface:
1
Open the web browser interface and http to the IP address or hostname of the SCS. The SCS Home
page displays. If logging is enabled, the port name is a link.
2
Click the link to open the file in the default text viewer.
3.2.2.3 FTP
To retrieve the port log using an FTP session:
Local>> DEFINE PORT 2 SERIALLOG LIMIT 200
Содержание SCS
Страница 14: ...xii ...
Страница 171: ...Modem Sharing Examples 10 6 ...
Страница 314: ...Command Reference Service Commands 12 110 ...
Страница 403: ...Show 802 11 Errors Rightmost Number B 5 00000002 Internal error 00000001 Internal error ...
Страница 424: ...Index 13 ...