#!/usr/bin/perl -w # # dump out the binary header of an RRD file in human readable format # # usage: test.pl # # open my $fd, "<", $ARGV[0]; binmode $fd; read $fd,my $head, 256; # dump out first 256 bytes of header only for (my $i=0; $i