[rrd-users] Re: RRDs::graph causes CPU overload?
Alex van den Bogaerdt
alex at ergens.op.het.net
Sun Jan 5 01:28:15 MET 2003
On Sat, Jan 04, 2003 at 10:55:07PM +0100, Jakub Drwal wrote:
> Hello, I just wrote new script, to monitor my memory usage.
> But, after a few updates to database, my script hangs up and
> eat albost 100% of my cpu. What's wrong?
> Buggy script attached below:
[snipped script, it was buggy anyway]
Try to figure out what's eating your cpu cycles. Break down the
problem into smaller pieces. Concentrate on the problem part.
Once you know *where* it is going wrong, the *why* usually is
found quite easely.
It's probably something to do with the interaction between perl
and grep. I'm no perl guru so I shut up right now.
Much of what looks like rudeness in hacker circles is not intended to give
offence. Rather, it's the product of the direct, cut-through-the-bullshit
communications style that is natural to people who are more concerned about
solving problems than making others feel warm and fuzzy.
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users