THE VIRTUAL SERVER HANDBOOK
Monitoring Anonymous FTP Activity
The messages file located in your usr/logs directory contains valuable
information describing how often your virtual anonymous FTP server is
being used. This information is not very readable, though. You can use the
Xferstats
 program to summarize anonymous FTP activity.
Xferstats
 may be run periodically by the CRON facility.
To use XFERSTATS to monitor FTP activity:
1.
Create a file named cfile with the following information:
# Crontab 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:
{1} % crontab cfile
To see more information on cron, enter 
man
crontab
 and 
man 5
crontab
 at your virtual server s UNIX prompt.
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
COPYRIGHT 
 1999  DIGITAL TOOLS  LLC.
86




  

Home

About Services Network Support FAQ Order Contact
 

Web Cam WebHosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved