mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] Re: donitor users: speedup of data gathering


From: Sven Hartge
Subject: [Mldonkey-users] Re: donitor users: speedup of data gathering
Date: Wed, 29 Jan 2003 00:30:35 +0100
User-agent: tin/1.5.16-20030113 ("Spiders") (UNIX) (Linux/2.4.20-112 (i586))

Jörg Maisenbacher <address@hidden> wrote:

> Not completely onTopic, but still donitor-related. I noticed upload of 
> 60k sometimes (which is on a 128kbit upstream impossible). After a while 
> i realized, that it was the connection to the GUI (mldonkeyWatch), which 
> was so traffic intense (btw: why has the GUI such a high traffic...?). 
> So i modified the script
> donitor_path/sbin/update_rrd.pl on line 281 (+- something)
> from
> my $qstring="$conntrack -nPi";
> 

> my $qstring="$conntrack -nPi |grep -v 192.168 |grep -v 127.0.0.1";

Urgh. Two grep instances. Better use egrep -v "(192\.168\.|127\.0\.0\.1)"

> this gets rid of connections to the lan and localhost.

Yes, but this should be done direct in perl and not via grep. The above
solution should only be a workaround.

S°

-- 
Fachbegriffe der Informatik - Einfach erklärt
275: Luster-Format
       Positiv gemeint: Eßfreudig
       Negativ gemeint: Das Äquivalent von zwei Öltanks
       (Alexander Stielau)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]