Содержание

Statistics

stat flow ip4

Displays IPv4 flow statistics. Analogous to the output in fastdpi_stat.log.

fastdpi_cli stat flow ip4

stat flow ip6

Displays IPv6 flow statistics

fastdpi_cli stat flow ip6

stat netflow

Displays general Netflow/IPFIX statistics (same as what is output in fastdpi_stat.log in the "Statistics on NFLW_export" section)

fastdpi_cli stat netflow

stat firewall

Displays general firewall statistics

fastdpi_cli stat firewall

stat http

Displays internal statistics on HTTP, SSL_SAVEBL, QUIC_IETF_SAVEBL, BitTorrent. Equivalent to the output in fastdpi_stat.log.

fdpi_cli stat http

The command output also shows memory usage by HTTP parsers — this data can be used to monitor HTTP parser utilization.

For each thread (slave #N) and in total for all threads (Total), the http parser line is displayed (equivalent to MEMUSE : 'http parser' in fastdpi_stat.log):

Detailed statistics on HTTP
  slave #0
    http parser: total_recs=1000, cntr_allocated=1, free_recs=999
    ...
  Total
    http parser: total_recs=4000, cntr_allocated=4, free_recs=3996
    ...

where:

Statistics for the shared HTTP parser memory pool are also displayed (equivalent to MEMUSE : 'http parser' mem_manager in fastdpi_stat.log):

http parser mem_manager:
  sizeof_T=6744 size_rec_insizet=843 recs_per_block=1000
  total_block=80, used_blocks=4, free_blocks=76 ( 95.00% )
  total_recs=80000, used_recs=4000, free_recs=76000

where:

HTTP parser utilization is calculated as follows: