Changes between Version 6 and Version 7 of Old/Documentation/OTG/Measurement/DatabaseProcess


Ignore:
Timestamp:
Aug 13, 2006, 3:45:02 PM (18 years ago)
Author:
zhibinwu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/Documentation/OTG/Measurement/DatabaseProcess

    v6 v7  
    2727$hostname = 'idb1.orbit-lab.org';
    2828$user     = 'orbit';
    29 $database = 'none';
     29$database =  @ARGV;
    3030$password = 'orbit';
    3131$resultfile ='tempres';
    3232
    3333
    34 $table1 = "temp/tx_table";
    35 $table2 = "temp/rx_table";
     34$table1 = "tx_table";
     35$table2 = "rx_table";
    3636
    3737$driver   = 'mysql';
     
    5757{
    5858  my ($dbname,$f1, $f2) = @_;
    59   open (OUTFILE1, "> $f1");
     59  open (OUTFILE1, "> $f1")
    6060         || die "Can't open file to save temporary TX data $!\n";
    61   open (OUTFILE2, "> $f2");
     61  open (OUTFILE2, "> $f2")
    6262         || die "Can't open file to save temporary RX data $!\n";
    6363 my $dbh = Mysql->connect($hostname, $dbname, $user, $password);
     
    7777}
    7878                                   
    79 
    80 
    81 
    8279}}}