荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: netlife (好好学习,天天向上), 信区: Newsoftware
标  题: Re: Serv-U 的流量记录在哪里?
发信站: 荔园晨风BBS站 (Thu Dec 13 23:13:48 2001), 转信

使用FTP Serv-U安装FTPSERVER的朋友,可以使用Serv-U符号信息参数来向CLIENT端显示
一些重要的信息。
这些可以显示的信息包括:
Sign-on/sign-off messages 签入/出信息
User specific login messages 用户指定登录信息
Directory change messages 目录改变信息
你可以往这些指定的信息文本里加入符号参数,这些参数在发送给客户时会扩展为
当前状态的内容。这些符号参数都是以 "%" 号开头的,下面是完整列表
Time/date:
%Time - displays the current time on your PC 当前时间
%Date - displays the current date on your PC Server 当前日期
statistics:
%ServerDays - displays the number of days the server has been running
%ServerHours - displays the number of hours the server has been running

%ServerMins - displays the number of minutes the server has been up
%ServerSecs - displays the number of seconds the server has been up
%ServerKbUp - displays the no. Kbytes uploaded to the server since serve
r start
%ServerKbDown - displays the no. Kb downloaded from the server since ser
ver start
%ServerFilesUp - displays the no. of files uploaded to the server since
server start
%ServerFilesDown - displays the no. of files downloaded from the server
since server start
%LoggedInAll - displays total no. of logged in users since server start

%ServerAvg - displays the average server throughput since server start

%ServerKBps - displays current server bandwidth use
Server settings:
%MaxUsers - displays the maximum no. of users, as set in "Setup - Server
"
%MaxAnonymous - the maximum no. of anonymous users, as set in "Setup - S
erver"

User info:
%Name - displays the user's login name
%IP - displays the user's IP number or name if available 显示用户的IP
%Dir - displays the user's current directory
%Disk - displays the user's current disk drive 显示用户的当前磁盘
%DFree - displays the amount of free space on the user's current disk in
 Kb 显示可用的空间
%FUp - displays the number of files uploaded by the current user 当前用?
显厥?
%FDown - displays the number of files downloaded
%FTot - displays the total number of files transferred
%BUp - displays the number of Kbytes uploaded by the user
%Bdown - displays the number of Kbytes downloaded by the user
%BTot - displays the total number of Kbytes transferred
%TconM - displays the total connect time in minutes 显示连接时间
%TconS - displays the connect time in seconds - to be used with "%tconm"

%RatioUp - displays the "upload" ratio part for UL/DL ratios
%RatioDown - displays the "download" ratio part for UL/DL ratios
%RatioCredit - displays the current download credit for UL/DL ratios (Kb
 or "files")
%QuotaUsed - displays how much disk quota is used in Kb 以下是有关配额的
显示
%QuotaLeft - displays how much disk quota is left in Kb
%QuotaMax - displays the maximum amount of disk space that can be used i
n Kb Number of users:
%UNow - displays the current number of Serv-U users connected
%UAll - displays the number of users since the server was started
%U24h - displays the number of users in the last 24 hours
%UAnonAll - all currently logged in anonymous users
%UAnonThisIP - all anonymous users logged into this IP home
%UNonAnonAll - all non-anonymous users currently logged in
%UNonAnonThisIP - all non-anonymous users logged into this IP home
%UThisName - all current users with the current user name logged into th
is IP home

下面是一个例子:
欢迎你在%date %time 访问我们的服务器, 你是第 %unow 个用户,最大
用户数为 %maxusers,在上24小时以来,共有 %u24h个朋友访问这里。

注意,CLIENT端每行只显示80个字符,而返回码就占了4个字符。所以,建议定义?
畔⒚啃凶疃?70个字符。

建议:自建FTP的朋友,建议多使用下面的符号:
%Disk - 用户当前磁盘驱动器
%DFree - 用户当前剩余空间(KB)
%QuotaMax - 最大可用磁盘空间(KB)

以便给上传的朋友知道现在的空间可用情况 。

当然可以设置限额:
Menu-->setup--->users...---->Quota: Enable disk quota: Maximum: XXXMB
这样可以用
%QuotaUsed - 已使用多小配额空间(KB)
%QuotaLeft - 还有多小配额空间可以用(kb)
%QuotaMax - 设定的配额

建议是在登入信息和目录改变信息里加入这些宏,这样使用FTP人会方便很多。

【 在 PhilCF (少上荔园多学习) 的大作中提到: 】
: 很奇怪,messages 里面可以用动态流量参数,但历史记录里面为什么没有?
: 到底这些数据在哪里的?谁可以告诉我啊???????


--
饭是要一口一口吃啲;

    水是要一桶一桶灌啲。

※ 来源:·荔园晨风BBS站 bbs.szu.edu.cn·[FROM: 192.168.48.13]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店