P4G_USER_STATE_RATE
# get
<module-index>/<port-index> P4G_USER_STATE_RATE [<group_index>] ?
Description
- Returns a list of the user state rates measured in users/second. 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 user state rates measured in users/second.
ref_time
: long integer, a list of the user state rates measured in users/second.
stats
: long integer, a list of the user state rates measured in users/second.
init
: long integer, a list of the user state rates measured in users/second.
active
: long integer, a list of the user state rates measured in users/second.
success
: long integer, a list of the user state rates measured in users/second.
failed
: long integer, a list of the user state rates measured in users/second.
stopped
: long integer, a list of the user state rates measured in users/second.
Example
# get
input: 0/1 P4G_USER_STATE_RATE [0] ?
output: 0/1 P4G_USER_STATE_RATE [0] 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123 123456789123