[rrd-users] rrdtool cpu overload
Erik de Mare
erik at oezie.org
Tue Dec 16 08:32:50 CET 2008
<Pine.LNX.4.64.0812151519100.19534 at pluto.express.org> <7094D73AC0AC9D4BBF79A6FAD81AB6870C240A2A60 at GUREXMB01.ASIAN.AD.ARICENT.COM>
Message-ID: <c43e313804fd2a7e66859f798e058fae at 10.0.11.20>
X-Sender: erik at oezie.org
User-Agent: RoundCube Webmail/0.1b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bit
try adding "--lazy"
Miscellaneous
[-z|--lazy]
Only generate the graph if the current graph is out of date or not
existent. Note, that only the image size will be returned, if you run with
lazy even when using graphv and even when using PRINT.
http://oss.oetiker.ch/rrdtool/doc/rrdgraph.en.html
Mvg,
Erik
On Tue, 16 Dec 2008 11:01:24 +0530, Krishna Kant Chaturvedi
<krishna.chaturvedi at aricent.com> wrote:
> Hi All,
>
> Please help me.
>
> I have tested the ae_graph_pm.pl script. And found out that the only
place
> its taking high CPU utilization is during a function call
>
>
>
> RRDs::graph( "$graphPath/$curName",
>
> "--start=$startTime",
>
> "--end=$g_time",
>
> "-a","PNG",
>
> "--title=$title",
>
> "--vertical-label=$yaxis",
>
> "--width=500",
>
> "--height=100",
>
> "--alt-autoscale-max",
>
> "--lower-limit=0",
>
> @defs,
>
> @cdefs,
>
> @lines,
>
> "COMMENT:\\n",
>
> "COMMENT: $comment\\n"
>
> );
>
>
>
> Which is an API given by 3rd party rrd tool.
>
>
>
> This function is called in a loop for the number of times the graph time
> interval is defined multiplied by number of blades.
>
> Ex. Lets say for each balde we have 8 intervals defined 30mins, 3hr,
12hr,
> 24hr, 1 day, 3 day, 15day, 31day and currently the number of blades is 12
>
>
>
>
>
> -rw-r--r-- 1 ins insgroup 3378 Dec 11 17:17
> System_graph6_12hr.png
>
> -rw-r--r-- 1 ins insgroup 3352 Dec 11 17:17
> System_graph6_15day.png
>
> -rw-r--r-- 1 ins insgroup 3420 Dec 11 17:17
> System_graph6_31day.png
>
> -rw-r--r-- 1 ins insgroup 3504 Dec 11 17:17
> System_graph6_3hr.png
>
> -rw-r--r-- 1 ins insgroup 3530 Dec 11 17:17
> System_graph6_24hr.png
>
> -rw-r--r-- 1 ins insgroup 3462 Dec 11 17:17
> System_graph6_3hr.png
>
> -rw-r--r-- 1 ins insgroup 3604 Dec 11 17:17
> System_graph6_60day.png
>
> -rw-r--
More information about the rrd-users
mailing list