projects
/
rrdtool.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
the images should be written to the current directory ... -- Alex
[rrdtool.git]
/
examples
/
bigtops.pl.in
diff --git
a/examples/bigtops.pl.in
b/examples/bigtops.pl.in
index
ed93b7a
..
0f5d98c
100755
(executable)
--- a/
examples/bigtops.pl.in
+++ b/
examples/bigtops.pl.in
@@
-1,14
+1,12
@@
#! @PERL@
#! @PERL@
-
-#makes things work when run without install
-use lib qw( ../libraries/perl-shared/blib/lib ../libraries/perl-shared/blib/arch );
# this is for after install
# this is for after install
-use lib qw( @prefix@/lib/perl
../lib/perl
);
+use lib qw( @prefix@/lib/perl );
use RRDs;
my $start=time;
my $rrd="randome.rrd";
my $name = $0;
use RRDs;
my $start=time;
my $rrd="randome.rrd";
my $name = $0;
+$name =~ s/.*\///g;
$name =~ s/\.pl.*//g;
RRDs::create ($rrd, "--start",$start-1, "--step",300,
$name =~ s/\.pl.*//g;
RRDs::create ($rrd, "--start",$start-1, "--step",300,