Wow!
My problem is I'm not so good programming in perl, should read a little bit
and learn ;)
Removing command not needed, some checks (i.e. switch uptime) it's MUCH
better.
I've used some tricks sent to me too, thank's all!
Do you have a perl example? Ok, I know, I should try myself ;)
Anyway t
On Tue, Jun 20, 2006 at 11:57:59AM +0200, Simone Felici wrote:
> The snmpwalk is fast, but the cicle with all grep, awk, rrdtool update needs
> minimum 7 minutes on first router and 20 minutes on second router!!
I divided the serverload by at least 20 by using perl and RRDs instead of
shell/awk/se
On Tue, Jun 20, 2006 at 12:28:26PM +0200, Fabien Wernli wrote:
> On Tue, Jun 20, 2006 at 12:23:28PM +0200, Alex van den Bogaerdt wrote:
> > >>> < in.txt grep whatever | awk '{print $2}'
>
> hmmm make it
>
> | awk '/whatever/{print $2}' in.txt
How is this different from my:
> and remove
On Tue, Jun 20, 2006 at 12:23:28PM +0200, Alex van den Bogaerdt wrote:
> >>> < in.txt grep whatever | awk '{print $2}'
hmmm make it
| awk '/whatever/{print $2}' in.txt
to save another cycle
or use perl :o)
--
Unsubscribe mailto:[EMAIL PROTECTED]
Helpmailto:[EMAIL PROTECTED]
Archiv
On Tue, Jun 20, 2006 at 11:57:59AM +0200, Simone Felici wrote:
> 6. determinate InCounter32 (cat in.txt | grep line | awk blablabla)
> 7. determinate OutCounter32 (cat out.txt | grep line | awk blablabla)
Ever heard of the useless use of cat award ?
You could probably save some cycles by changi
Hello to all!
I've a little problem with our server and update rrd-files. We have 5300
rrd-files updated every 5 minutes. 4000 rrd-files of them are collected from
two devices.
These are two DSL routers. In there are configured all xDSL lines of our
customers. I've made a script do the following:
Hi TR,
On Tuesday 20 June 2006 09:23, Thati Ravi wrote:
> Hai evrybody,
> (System Details:
> OS : FedoraCore2
> PHP: 5.1.2
> php4rrdtool module is configured.
> rrdtool is 1.0.49)
Which version of the php bindings for rrdtool do you use now?
The old ones that fit only for php4 or the new ones f
Hai evrybody,
(System Details:
OS : FedoraCore2
PHP: 5.1.2
php4rrdtool module is configured.
rrdtool is 1.0.49)
I am trying to call the rrd_create() in my php script like this:(very
simple)
$opts=array("--step","300","DS:testing:GAUGE:300:U:U","RRA:MIN:0.5:2:200");
$file="/home/ravit/test.rrd";
Hi,
We're really impressed with RRD. Just trying to get rid of a couple of
error log messages tho ~ I've spent the last couple of days solidly trolling
through the web and rrd-users logs trying to eliminate these but no luck.
Does anyone know where I'm going wrong?
I'm currently using php 4.3.2 (