Re: cfdportmatrix question

From: John Butler (
Date: Wed Dec 06 2000 - 16:18:03 PST

  • Next message: Lars Michael Jogback: "Scripts to import cflowd-data into MySQL?"

    > I have installed CFLOWD on a Linux system. I have seen that cflowd records
    > data on single file (one per day).
    > How can I obtain a cfdportmatrix report which includes all days?
    > Thanks in advance for your attention.

    If I recall correctly, cflowd requires arts++ to run, so if you have arts++
    installed, you can use artsportagg, thusly:

    % man artsportagg

    artsportagg(l) artsportagg(l)

           artsportagg - utility to aggregate port table objects in
           time domain

           artsportagg [-h hours] [-o] [-q] outfile infile(s)

           artsportagg is a utility that reads port table objects
           from ARTS files (infile(s)) and aggregates them in the
           time domain, placing the resulting port table object(s)
           into an output file (outfile).

           -h hours
                  The -h hours option may be used to specify the
                  period of aggregation, in hours. The hours argu-
                  ment accepts a decimal value to permit aggregation
                  by fractional hour values. When the -h hours
                  option is not used, artsportagg will write a single
                  port table object for the entire time interval seen
                  in infile(s) to outfile.

           -o By default, artsportagg appends to the output file,
                  so you may accumlate aggregate port table objects
                  in a single file over multiple invocations of art-
                  sportagg. You may override this behavior with the
                  -o option. This will cause artsportagg to over-
                  write the output file instead of appending to it.

           -q By default, artsportagg prints a '.' for each port
                  table object it reads and prints a '+' for each
                  object it writes. You may suppress this behavior
                  with the -q (quiet) option.

           artsportagg -h 1.0 /tmp/portagg1hr.19980821 arts.19980821

           artsagg(l), artsportmagg(l), artsportms(l), artsports(l),
           artsdump(l), artsases(l), artsasagg(l), artsnets(l), art-
           snetagg(l), artsprotoagg(l), artsprotos(l), artsintfms(l),
           artsintfmagg(l), artsnexthops(l), artsnexthopagg(l), art-
           stos(l), artstoc(l)

           artsportagg and documentation written by Daniel W. McRobb
           CAIDA, August 1998

                                  LOCAL 1


    cflowd mailing list

    This archive was generated by hypermail 2b29 : Wed Dec 06 2000 - 16:42:20 PST