projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
3 patches, #3 depends on #1 as EPS uses AFM for stringwidth too.
[rrdtool.git]
/
examples
/
piped-demo.pl.in
diff --git
a/examples/piped-demo.pl.in
b/examples/piped-demo.pl.in
index
6021f5d
..
41005d8
100755
(executable)
--- a/
examples/piped-demo.pl.in
+++ b/
examples/piped-demo.pl.in
@@
-16,7
+16,7
@@
$STEP = 300;
$RUNS = 12*24*30*6;
$GRUNS = 20;
$RRD = "piped-demo.rrd";
$RUNS = 12*24*30*6;
$GRUNS = 20;
$RRD = "piped-demo.rrd";
-$
GIF = "piped-demo.gif
";
+$
SVG = "piped-demo.svg
";
$PNG = "piped-demo.png";
# some magic to find the correct rrdtol executable
$PNG = "piped-demo.png";
# some magic to find the correct rrdtol executable
@@
-67,11
+67,11
@@
printf "-- performance analysis Update test\n".
print "\n";
# creating some graphs
print "\n";
# creating some graphs
-print "* Creating $GRUNS
GIF graphs: $GIF
\n\n";
+print "* Creating $GRUNS
SVG graphs: $SVG
\n\n";
$now = time;
for ($i=0;$i<$GRUNS;$i++) {
$now = time;
for ($i=0;$i<$GRUNS;$i++) {
-RRDp::cmd "graph $
GIF
", "--title 'Test GRAPH' ",
- "--height 150 --vertical-label 'Dummy Units' ".
+RRDp::cmd "graph $
SVG
", "--title 'Test GRAPH' ",
+ "--
imgformat SVG --
height 150 --vertical-label 'Dummy Units' ".
"--start now".(-$RUNS*$STEP),
"--color ARROW#bfbfbf",
"DEF:alpha=$RRD:in:AVERAGE",
"--start now".(-$RUNS*$STEP),
"--color ARROW#bfbfbf",
"DEF:alpha=$RRD:in:AVERAGE",