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