Skip to content
Tom Barbette edited this page Jul 28, 2023 · 3 revisions

FlowCounter Element Documentation

NAME

FlowCounter — Click element; Counts the number of flows and packets per flow

SYNOPSIS

FlowCounter([CLOSECONNECTION])

Ports: 1 input, 1 output
Processing: push

DESCRIPTION

This element uses the flow subsystem to count the number of flows passing by, the one considered still active (using the upstream FlowManager's definition of active flow) and the number of packets per flow.

ELEMENT HANDLERS

  • count — Returns the number of flows seen
  • open — Returns the number of flows currently active
  • average — Returns the average length of a flow
  • median — Returns the median length of flows
  • dump — Print the histogram of flow sizes

SEE ALSO

MidStat

Generated by click-elem2man from ../elements/flow/flowcounter.hh:12 on 2023/07/28.

Clone this wiki locally