$rrd->dump() Available as of rrdtool 1.0.49. Dumps the RRD in XML format to STDOUT. If you want to dump it into a file instead, do this: my $pid; unless ($pid = open DUMP, "-|") { die "Can't fork: $!" unless defined $pid; $rrd->dump(); exit 0; } waitpid($pid, 0); open OUT, ">out"; print OUT $_ for ; close OUT;