1 |
We want Carl, we want Carl! |
2 |
Release a version of your... software please. ;) |
3 |
|
4 |
Rob |
5 |
|
6 |
Tobias Klausmann wrote: |
7 |
> Hi! |
8 |
> |
9 |
> On Tue, 05 Oct 2004, Andreas Herrmann wrote: |
10 |
> |
11 |
>>I searched the web for a nice tool to generate stats from rsync.log |
12 |
>>The rsyncstats script from rsync crashes with following error: |
13 |
>> |
14 |
> |
15 |
> [...] |
16 |
> |
17 |
>>I have over 100 syncs per day. Does somebody know a working solution for |
18 |
>>analysing the rsync logs? |
19 |
> |
20 |
> |
21 |
> That largely depends on what kind of statistics you need. I wrote |
22 |
> a tool that reports the top ten users and very basic overall |
23 |
> statistics like these (I edited the IPs and hostnames to protect |
24 |
> the guilty): |
25 |
> |
26 |
> [...snip...] |
27 |
> Total traffic: 45.35 GBytes |
28 |
> Total number of unique IPs: 4931 |
29 |
> Log seems to span 30.00 days. |
30 |
> |
31 |
> Top 10 Hosts by bytes |
32 |
> bytes ( MBytes ) IP-Adress (Hostname) |
33 |
> ------------------------------------------------ |
34 |
> 342422302 ( 326.56M) 00.00.00.00 (UNKNOWN) |
35 |
> 378355766 ( 360.83M) 00.00.00.00 (UNKNOWN) |
36 |
> 402690213 ( 384.04M) 00.00.00.00 (UNKNOWN) |
37 |
> 474043815 ( 452.08M) 00.00.00.00 (UNKNOWN) |
38 |
> 717244240 ( 684.02M) 00.00.00.00 (UNKNOWN) |
39 |
> 759872340 ( 724.67M) 00.00.00.00 (UNKNOWN) |
40 |
> 1389014265 (1324.67M) 00.00.00.00 (UNKNOWN) |
41 |
> 2151855076 (2052.17M) 00.00.00.00 (UNKNOWN) |
42 |
> 3164767044 (3018.16M) 00.00.00.00 (UNKNOWN) |
43 |
> 5941073841 (5665.85M) 00.00.00.00 (UNKNOWN) |
44 |
> ------------------------------------------------ |
45 |
> Top 5% of IPs (246) account for 28718099102 bytes (26.75GB) of traffic. |
46 |
> Which is 58.97% of the total traffic. |
47 |
> |
48 |
> Top 10 Hosts by number of sessions |
49 |
> Sessions per day IP-Adress (Hostname) |
50 |
> ------------------------------------- |
51 |
> 246 8.20 00.00.00.00 (UNKNOWN) |
52 |
> 309 10.30 00.00.00.00 (UNKNOWN) |
53 |
> 321 10.70 00.00.00.00 (UNKNOWN) |
54 |
> 328 10.93 00.00.00.00 (UNKNOWN) |
55 |
> 695 23.17 00.00.00.00 (UNKNOWN) |
56 |
> 823 27.43 00.00.00.00 (UNKNOWN) |
57 |
> 1055 35.17 00.00.00.00 (UNKNOWN) |
58 |
> 1372 45.73 00.00.00.00 (UNKNOWN) |
59 |
> 1419 47.30 00.00.00.00 (UNKNOWN) |
60 |
> 2759 91.97 00.00.00.00 (UNKNOWN) |
61 |
> ------------------------------------- |
62 |
> Total number of sessions..........: 26932 |
63 |
> Average number of sessions per day: 897.73 |
64 |
> |
65 |
> Top 5% of IPs (251) account for 15488 sessions. |
66 |
> Which is 57.51% of the total number of sessions. |
67 |
> |
68 |
> Analyzed 56027 lines in 7.62 seconds, 7351.30 lines per second |
69 |
> [...snap...] |
70 |
> |
71 |
> Currently this piece of... software is in no releasable shape, |
72 |
> but if there's need, I'll get it into shape. |
73 |
> |
74 |
> Greets, |
75 |
> Tobias |
76 |
> |
77 |
> PS: That performance is on a PIII/550 which is doing other stuff, |
78 |
> too. |
79 |
> |
80 |
|
81 |
|
82 |
-- |
83 |
gentoo-mirrors@g.o mailing list |