<[email protected]> 
<7094d73ac0ac9d4bbf79a6fad81ab6870c240a2...@gurexmb01.asian.ad.aricent.com>
Message-ID: <[email protected]>
X-Sender: [email protected]
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
<[email protected]> 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--

_______________________________________________
rrd-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to