[rrd-users] extract command line options used to create an RRD file

a.smith at ukgrid.net a.smith at ukgrid.net
Sat Jul 3 00:33:56 CEST 2010


Perfect!
 From RRDtools.pm:

=head1 SYNOPSIS

  use Smokeping::RRDtools;
  use RRDs;

  my $file = '/path/to/file.rrd';

  # get the create arguments that $file was created with
  my $create = Smokeping::RRDtools::info2create($file);

  # use them to create a new file
  RRDs::create('/path/to/file2.rrd', @$create);


thanks Tobias!





More information about the rrd-users mailing list