DOC: minor fix on {sc,src}_kbytes_{in,out}

These ones report total amount of bytes, not byte rates.
This fix should be backported into 1.5 which has the same error.
This commit is contained in:
Willy Tarreau 2014-07-10 15:29:24 +02:00
parent bd57a9f977
commit a01b974d5f

View File

@ -10457,19 +10457,17 @@ sc_kbytes_in(<ctr>[,<table>]) : integer
sc0_kbytes_in([<table>]) : integer sc0_kbytes_in([<table>]) : integer
sc1_kbytes_in([<table>]) : integer sc1_kbytes_in([<table>]) : integer
sc2_kbytes_in([<table>]) : integer sc2_kbytes_in([<table>]) : integer
Returns the amount of client-to-server data from the currently tracked Returns the total amount of client-to-server data from the currently tracked
counters, measured in kilobytes over the period configured in the table. The counters, measured in kilobytes. The test is currently performed on 32-bit
test is currently performed on 32-bit integers, which limits values to 4 integers, which limits values to 4 terabytes. See also src_kbytes_in.
terabytes. See also src_kbytes_in.
sc_kbytes_out(<ctr>[,<table>]) : integer sc_kbytes_out(<ctr>[,<table>]) : integer
sc0_kbytes_out([<table>]) : integer sc0_kbytes_out([<table>]) : integer
sc1_kbytes_out([<table>]) : integer sc1_kbytes_out([<table>]) : integer
sc2_kbytes_out([<table>]) : integer sc2_kbytes_out([<table>]) : integer
Returns the amount of server-to-client data from the currently tracked Returns the total amount of server-to-client data from the currently tracked
counters, measured in kilobytes over the period configured in the table. The counters, measured in kilobytes. The test is currently performed on 32-bit
test is currently performed on 32-bit integers, which limits values to 4 integers, which limits values to 4 terabytes. See also src_kbytes_out.
terabytes. See also src_kbytes_out.
sc_sess_cnt(<ctr>[,<table>]) : integer sc_sess_cnt(<ctr>[,<table>]) : integer
sc0_sess_cnt([<table>]) : integer sc0_sess_cnt([<table>]) : integer
@ -10633,19 +10631,18 @@ src_inc_gpc0([<table>]) : integer
tcp-request connection reject if abuse kill tcp-request connection reject if abuse kill
src_kbytes_in([<table>]) : integer src_kbytes_in([<table>]) : integer
Returns the amount of data received from the incoming connection's source Returns the total amount of data received from the incoming connection's
address in the current proxy's stick-table or in the designated stick-table, source address in the current proxy's stick-table or in the designated
measured in kilobytes over the period configured in the table. If the address stick-table, measured in kilobytes. If the address is not found, zero is
is not found, zero is returned. The test is currently performed on 32-bit returned. The test is currently performed on 32-bit integers, which limits
integers, which limits values to 4 terabytes. See also values to 4 terabytes. See also sc/sc0/sc1/sc2_kbytes_in.
sc/sc0/sc1/sc2_kbytes_in.
src_kbytes_out([<table>]) : integer src_kbytes_out([<table>]) : integer
Returns the amount of data sent to the incoming connection's source address Returns the total amount of data sent to the incoming connection's source
in the current proxy's stick-table or in the designated stick-table, measured address in the current proxy's stick-table or in the designated stick-table,
in kilobytes over the period configured in the table. If the address is not measured in kilobytes. If the address is not found, zero is returned. The
found, zero is returned. The test is currently performed on 32-bit integers, test is currently performed on 32-bit integers, which limits values to 4
which limits values to 4 terabytes. See also sc/sc0/sc1/sc2_kbytes_out. terabytes. See also sc/sc0/sc1/sc2_kbytes_out.
src_port : integer src_port : integer
Returns an integer value corresponding to the TCP source port of the Returns an integer value corresponding to the TCP source port of the