| 1 |
.TH TOP_HTTP_USERS 8 "novembre 26, 2003" |
|---|
| 2 |
.SH NAME |
|---|
| 3 |
top_http_users \- AlternC Apache statistics |
|---|
| 4 |
.SH SYNOPSIS |
|---|
| 5 |
.B top_http_users |
|---|
| 6 |
.RI [ options ] " number" |
|---|
| 7 |
.SH DESCRIPTION |
|---|
| 8 |
This manual page documents briefly the |
|---|
| 9 |
.B top_http_users |
|---|
| 10 |
command. |
|---|
| 11 |
.PP |
|---|
| 12 |
\fBtop_http_users\fP is a program that gives brief statistics on apache usage by parsing the apache logs. |
|---|
| 13 |
.TP |
|---|
| 14 |
The result is sorted by: |
|---|
| 15 |
* number of lines in logs, by domain |
|---|
| 16 |
.br |
|---|
| 17 |
* size of transfered data, by domain |
|---|
| 18 |
.br |
|---|
| 19 |
* execution time, by domain |
|---|
| 20 |
.br |
|---|
| 21 |
* number of lines in logs, by AlternC account |
|---|
| 22 |
.br |
|---|
| 23 |
* size of transfered data, by AlternC account |
|---|
| 24 |
.br |
|---|
| 25 |
* execution time, by AlternC account |
|---|
| 26 |
.PP |
|---|
| 27 |
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). |
|---|
| 28 |
.PP |
|---|
| 29 |
\fBtop_http_users\fP has to be run as root. |
|---|
| 30 |
.SH OPTIONS |
|---|
| 31 |
This program follow the usual GNU command line syntax, with long |
|---|
| 32 |
options starting with two dashes (`-'). |
|---|
| 33 |
A summary of options is included below. |
|---|
| 34 |
.TP |
|---|
| 35 |
.B \-h, \-\-help |
|---|
| 36 |
Show summary of options. |
|---|
| 37 |
.TP |
|---|
| 38 |
.B \-v, \-\-version |
|---|
| 39 |
Show version of top_http_users. |
|---|
| 40 |
.TP |
|---|
| 41 |
.B \-z, \-\-use-gz-logs |
|---|
| 42 |
Parse gzipped and .1, ...n apache logs instead of just parsing the current log. |
|---|
| 43 |
.br |
|---|
| 44 |
This option is not compatible with the \-n option. |
|---|
| 45 |
.TP |
|---|
| 46 |
.B \-s, \-\-ssl |
|---|
| 47 |
Parse the apache-ssl logs instead of parsing the non-ssl apache logs. |
|---|
| 48 |
.TP |
|---|
| 49 |
.B \-n, \-\-number=NUMBER |
|---|
| 50 |
parse the NUMBER last lines of the current log. |
|---|
| 51 |
.br |
|---|
| 52 |
This option is not compatible with the \-z option. |
|---|
| 53 |
.SH NUMBER |
|---|
| 54 |
Shows a result of |
|---|
| 55 |
.IR number |
|---|
| 56 |
users. |
|---|
| 57 |
.SH SEE ALSO |
|---|
| 58 |
.BR top_mysql_users (8), |
|---|
| 59 |
.BR top_ftp_users (8), |
|---|
| 60 |
.BR alternc-admintools (8). |
|---|
| 61 |
.br |
|---|