internet web hosting
The messages file located in your var/logs directory contains valuable information describing how often your virtual anonymous FTP server is being used. This information is not very readable, however. You can use the Xferstats program to summarize anonymous FTP activity.

Xferstats may be run periodically by the CRON utility.

Using xferstats to Monitor FTP Activity
  1. Create a file named cfile with the following information:

    # cron tab file (see crontab(5))
    # Every Sunday morning at 2:13am process FTP xferstats and "nuke" message file
    13 2 * * sun /usr/local/bin/xferstats -m user@xyz.com -n

  2. Run crontab to install the cron file (cfile) you just created:

    % crontab cfile

For more information on cron, enter man crontab and man 5 crontab at your Virtual Server's UNIX prompt or see the section on cron in Chapter 8.

Example Output from xferstats

TOTALS FOR SUMMARY PERIOD Aug 16 TO Aug 17

Files Transmitted During Summary Period   3
Bytes Transmitted During Summary Period   762
Systems Using Archives             0
Average Files Transmitted Daily        2
Average Bytes Transmitted Daily       381
Daily Transmission Statistics
Number Of  Number of  Average  Percent Of

Date    Files Sent Bytes Sent Xmit Rate Files Sent Bytes Sent
Aug 16          2     508 508.0 KB/s   66.67    66.67
Aug 17          1     254  0.3 KB/s   33.33    33.33
Total Transfers from each Archive Section (By bytes)
Archive Section   Files Sent Bytes Sent Files Sent Bytes Sent
/pub                3     762  100.00   100.00

Hourly Transmission Statistics
Number Of  Number of  Average  Percent Of
Time    Files Sent Bytes Sent Xmit Rate Files Sent Bytes Sent
--------------- ---------- -----------
03            1     254  0.3 KB/s   33.33    33.33
05            2     508 508.0 KB/s   66.67   66.67

For More Information
For additional information about the topics discussed in this chapter, see the following pages on the Enetrics Communications web site.

Virtual Server Information
Technical Support Pages

Hosting  ::  Web Design  :: Server Administration  ::  Tech Support  ::  Contacts
Data Centers  ::  Tier I Global IP Network  ::  SLA/Contracts  ::  Search  ::  Account Login