Gentoo Archives: gentoo-server

From: Jernej Kos <kostko@××××××××××××.net>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] Per user monthly transfer quota
Date: Mon, 05 Apr 2004 17:38:59
Message-Id: 200404051938.38080.kostko@jweb-network.net
In Reply to: Re: [gentoo-server] Per user monthly transfer quota by Robert Sanders
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 and what does the bytes LogFormat look like ?
5
6 On Monday 05 of April 2004 18:21, Robert Sanders wrote:
7 > On Monday 05 April 2004 11:49 am, Jernej Kos wrote:
8 > > How could i see how many megabytes did a specified user transfer in the
9 > > last month and/or limit it ? Especialy i would need this for apache.
10 >
11 > Direct admin control panel uses a loging function I believe
12 >
13 > snip from httpd configs
14 > CustomLog /var/log/httpd/domains/<some_site>.com.bytes bytes
15 >
16 > They also account for ftp, and use proftpd with their control panel.
17 >
18 > Also, I think it may be possible to parse existing logs, but most of my
19 > usage is loged by IP with iptables/mysql/RRD combo or switch port so i'm
20 > not sure.
21
22 - --
23 Kostko <kostko@××××××××××××.net>
24 JWeb-Network
25 -----BEGIN PGP SIGNATURE-----
26 Version: GnuPG v1.2.4 (GNU/Linux)
27
28 iD8DBQFAcZmdllbq6idCSBURAooxAKDDUCW5jyN+r17p+y5huqJfWnyImwCfeVZv
29 A/EIc1qsup73sfpKfUTGTTk=
30 =/o/c
31 -----END PGP SIGNATURE-----