6.16 sockrtt
This command is used to report and reset the round-trip time statistics for application sockets. Minimum, maximum, and average times are kept for each open socket. The Retransmission Mode (BSD, FIXED, or MOD) and the Fixed Round Trip Time are also displayed.
Options
Options and option parameters that are underlined indicate that a value must be specified for that option or parameter. For example, the sockrtt
command has the option socket name
. The socket name must be specified for which statistics will be displayed, as in the command sockrtt socyellow
. Do not enter the underlined option or parameter; enter a value for the information represented by the underlined option or parameter.
socket name
This option is mandatory and specifies the socket name for which statistics are to be displayed.
-r
This option resets all statistics for the given socket name.
-h
This option provides help information for the command.
Example
sockrttsockrtt -h
sockrtt socyellow
sockrtt socyellow -r
Dependencies
None
Notes
The sockrtt
command is executed through the pass
command.
Output
pass:loc=1105:cmd="sockrtt"
or
pass:loc=1105:cmd="sockrtt -h"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
Usage: SOCKRTT sockname [-r] [-h]
Options:
-r Resets rtt data for specified socket
-h Displays this message
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
SOCKRTT command complete
;
pass:loc=1105:cmd="sockrtt c7000"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
SOCKRTT: Socket round-trip time report (in milliseconds)
Configured Traffic Round-Trip Time
Retransmission Mode : FIXED
Fixed Round Trip Time : 250
Measured Normal Traffic Round-Trip Times
Minimum round-trip time : 5
Maximum round-trip time : 195
Weighted Average round-trip time : 10
Last recorded round-trip time : 10
Measured Congested Traffic Round-Trip Times
Minimum round-trip time : 0
Maximum round-trip time : 0
Weighted Average round-trip time : 0
Last recorded round-trip time : 0
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
SOCKRTT command complete
;
pass:loc=1105:cmd="sockrtt c7000 -r"
Command Accepted - Processing
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
pass:loc=1105:cmd="sockrtt c7000 -r"
Command entered at terminal #1.
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
PASS: Command sent to card
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
SOCKRTT: Socket round-trip time report (in milliseconds)
Configured Traffic Round-Trip Time
Retransmission Mode : FIXED
Fixed Round Trip Time : 250
Measured Normal Traffic Round-Trip Times
Minimum round-trip time : 0
Maximum round-trip time : 0
Weighted Average round-trip time : 0
Last recorded round-trip time : 0
Measured Congested Traffic Round-Trip Times
Minimum round-trip time : 0
Maximum round-trip time : 0
Weighted Average round-trip time : 0
Last recorded round-trip time : 0
;
rlghncxa03w 04-07-27 08:32:34 EST EAGLE5 31.6.0
SOCKRTT command complete
;