Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Viewing FTP log files and connection statistics

Types of log files  Top

The ftp daemon maintains two log files:

Where the log files are stored  Top

The FTP log files are stored in the /etc/log directory on the filer's default volume (/vol/vol0 by default).

Viewing log files  Top

Data ONTAP does not contain a log file viewer. To view the log files, complete the following steps.

Step

Action

1

Access the /etc/log directory on the filer's default volume (/vol/vol0 by default) from an NFS client or a CIFS client.

2

Use a text viewer or text editor to open and view a log file.

3

Close the log file when you are finished viewing it.

FTP statistics you can view  Top

Use the ftp stat command to view the following FTP statistics:

Viewing FTP statistics  Top

To view FTP statistics, perform the following step.

Step

Action

1

From the Data ONTAP command line, enter the following command:

ftp stat

Resetting FTP statistics  Top

To reset FTP statistics, perform the following step.

Step

Action

1

From the Data ONTAP command line, enter the following command:

ftp stat -z

Result

All FTP statistics counters are reset.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments