[rrd-users] RRDs::xport question

Ruttenberg, Tanya Tanya.Ruttenberg at ssa.gov
Wed Nov 8 20:23:14 MET 2006


I recently implemented RRDs::xport in a script like this:
my @answer = RRDs::xport("-s", "$start_date", "-e", "$end_date", 
	"DEF:inbound=$rrdfile:$dsin:AVERAGE",
"DEF:outbound=$rrdfile:$dsout:AVERAGE", 
	"XPORT:inbound:Inbound", "XPORT:outbound:Outbound");

Here is what shows up in @answer (from the perl debugger):


  DB<2> x @answer
0  1162876500
1  1162962000
2  900
3  2
4  ARRAY(0xdb7af0)
   0  'Inbound'
   1  'Outbound'
5  ARRAY(0xdb836c)
   0  ARRAY(0xdb82dc)
      0  3809.14390367829
      1  7525.4298691325
   1  ARRAY(0xdb7d24)
      0  4400.2949691366
      1  16160.2408487261
   2  ARRAY(0xdb7e44)
      0  5163.5579936394
      1  13390.7374707671


I see the data, but where are the timestamps?



Tanya Ruttenberg - RSIS Contractor
OTSO/DNE/NMPEB
tanya.ruttenberg at ssa.gov
410-965-9605


--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/rrd-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the rrd-users mailing list