$Id: 47921b7fb034a1c809ccb5f65f75d62ab73e17a8 $

Output format
=============

Statistics in rows
------------------
*Version		$MAJOR.$MINOR


Statistics in columns
---------------------
Last column contains output version number (since 4.0) prepended with '#'



Changes
-------

Output format version 4.0 extended with:

- stat by rows:
    - new rows for AfriNIC
- stat by columns:
    - new columns for AfriNIC
    - version number on end of line


Output format version 3.0 extended with:

- Database information
*3*DB-Info: ...

- one line per CountryCode and proto
*3*CC-code-proto/$CC/ALL    $ALL[$CC]
*3*CC-code-proto/$CC/IPv4   $IPv4[$CC]
*3*CC-code-proto/$CC/IPv6   $IPv6[$CC]

- list per CountryCode
*3*CC-code-proto-list/$CC    $ALL[$CC] $IPv4[$CC] $IPv6[$CC]

- one line per proto and CountryCode
*3*CC-proto-code/ALL/$CC   $ALL[$CC]
*3*CC-proto-code/IPv4/$CC  $IPv4[$CC]
*3*CC-proto-code/IPv6/$CC  $IPv6[$CC]

- list per proto (summary)
*3*CC-proto-code-list/ALL  sum($ALL[$CC]) sum($IPv4[$CC]) sum($IPv6[$CC])

- one line per AS and proto:
*3*ASN-num-proto/$AS/ALL   $ALL[$AS]
*3*ASN-num-proto/$AS/IPv4  $IPv4[$AS]
*3*ASN-num-proto/$AS/IPv6  $IPv6[$AS]

- list per AS
*3*ASN-num-proto-list/$AS  $ALL[$AS] $IPv4[$AS] $IPv6[$AS]

- one line per proto and AS
*3*ASN-proto-num/ALL/$AS   $ALL[$AS]
*3*ASN-proto-num/IPv4/$AS  $IPv4[$AS]
*3*ASN-proto-num/IPv6/$AS  $IPv6[$AS]

- list per proto (summary)
*3*ASN-proto-num-list/ALL  sum($ALL[$AS]) sum($IPv4[$AS]) sum($IPv6[$AS])


=> "grep" your favorite lines, "*" can be matched with '^\*3\*'

NOTE: country code "--" (unknown) is mapped to "00", there are also other special ones defined in GeoIP like A1, A2 and O1 (see GeoIP source code)

NOTE: ASN "0" is "unknown"


Output format in future versions will be introduced with *$MAJOR*



External software:

Gnuplot:
Homepage: http://www.gnuplot.info/
Gnuplot is normally contained by Linux distribution


GRI:
Homepage: http://gri.sourceforge.net/

