Alternc  latest
Alternc logiel libre pour l'hébergement
top_ftp_users.8
Go to the documentation of this file.
1 .TH TOP_FTP_USERS 8 "novembre 26, 2003"
2 .SH NAME
3 top_ftp_users \- AlternC ftp statistics
4 .SH SYNOPSIS
5 .B top_ftp_users
6 .RI [ options ] " number"
7 .SH DESCRIPTION
8 This manual page documents briefly the
9 .B top_ftp_users
10 command.
11 .PP
12 \fBtop_ftp_users\fP is a program that gives brief statistics on ftp usage by parsing the apache logs.
13 .TP
14 The result is sorted by:
15 * number of connexion, by user
16 .br
17 * size of transfered data, by user
18 .PP
19 As parsing large log files can be time and cpu consuming, use the -n option, with low values, to have results more quickly (but less accurate).
20 .PP
21 \fBtop_ftp_users\fP has to be run as root.
22 .SH OPTIONS
23 This program follow the usual GNU command line syntax, with long
24 options starting with two dashes (`-').
25 A summary of options is included below.
26 .TP
27 .B \-h, \-\-help
28 Show summary of options.
29 .TP
30 .B \-v, \-\-version
31 Show version of top_ftp_users.
32 .TP
33 .B \-z, \-\-use-gz-logs
34 Parse gzipped and .1, ...n apache logs instead of just parsing the current log.
35 .br
36 This option is not compatible with the \-n option.
37 .TP
38 .B \-n, \-\-number=NUMBER
39 parses the NUMBER last lines of the current log.
40 .br
41 This option is not compatible with the \-z option.
42 .SH NUMBER
43 Shows a result of
44 .IR number
45 users.
46 .SH SEE ALSO
47 .BR top_http_users (8),
48 .BR top_mysql_users (8),
49 .BR alternc-admintools (8).
50 .br