P4G_USER_STATE_CURRENT

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

Description

Returns a list of the current user state counters. A user is identified by a Client IP address. The counters returned corresponds the the following user states:
  • INIT: The user has been created, but has no open connections yet.

  • ACTIVE: The user has at least one open connection.

  • SUCCESS: The user has successfully transmitted and received all payload.

  • FAILED: The user has failed in transmitting or receiving all payload. STOPPED The user has been stopped due to ramp-down.

  • INACTIVE: All the users connection is closed, but the user has not been destroyed yet.

Actions

get

Parameters

current_time: long integer, a list of the current user state counters.

ref_time: long integer, a list of the current user state counters.

init: long integer, a list of the current user state counters.

active: long integer, a list of the current user state counters.

success: long integer, a list of the current user state counters.

failed: long integer, a list of the current user state counters.

stopped: long integer, a list of the current user state counters.

inactive: long integer, a list of the current user state counters.

Example

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