P4G_TCP_STATE_RATE

# get
<module-index>/<port-index> P4G_TCP_STATE_RATE [<group_index>] ?

Description

Returns a list of the TCP state rates measured in connections/second. The counters returned corresponds the the following TCP state rates:
  • CLOSED

  • LISTEN

  • SYN_SENT

  • TCP_SYN_RCVD

  • ESTABLISHED

  • FIN_WAIT_1

  • FIN_WAIT_2

  • CLOSE_WAIT

  • CLOSING

  • LAST_ACK

  • TIME_WAIT

Actions

get

Parameters

current_time: long integer, a list of the TCP state rates measured in connections/second

ref_time: long integer, a list of the TCP state rates measured in connections/second

closed: long integer, a list of the TCP state rates measured in connections/second

listen: long integer, a list of the TCP state rates measured in connections/second

syn_sent: long integer, a list of the TCP state rates measured in connections/second

syn_rcvd: long integer, a list of the TCP state rates measured in connections/second

established: long integer, a list of the TCP state rates measured in connections/second

fin_wait_1: long integer, a list of the TCP state rates measured in connections/second

fin_wait_2: long integer, a list of the TCP state rates measured in connections/second

close_wait: long integer, a list of the TCP state rates measured in connections/second

closing: long integer, a list of the TCP state rates measured in connections/second

last_ack: long integer, a list of the TCP state rates measured in connections/second

time_wait: long integer, a list of the TCP state rates measured in connections/second

Example

# get
input:  0/1 P4G_TCP_STATE_RATE [0] ?
output: 0/1 P4G_TCP_STATE_RATE [0] 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123