Skip to content
xaprb edited this page Sep 14, 2010 · 6 revisions

Overview

rtime is a passive TCP response time analysis tool. It watches traffic to and from a specified port and measures the time elapsed from an incoming request to the outgoing response. It periodically prints out a report on the number and response time of these requests.

Major Functionality

The functionality is best explained with an example. To watch MySQL’s traffic on port 3306,

# rtime --port 3306 --iterations 2
        ts count   total    max  min     avg  med stdev 95_max 95_avg 95_med 95_stdev 99_max 99_avg 99_med 99_stdev
1274149776   123  812928 128193 1293 6609.17 6003   182  11023   5012   4938      102  83223   6038   5832      138
1274149786  1829 1929823 122933 1391 1055.12 5823   198  12293   5219   5023      130  67230   5829   5223      132

Options

  • —port which port to watch
  • —interval (default 10) how often, in seconds, to print a line
  • —iterations (default 1) how many reports to print out; 0 means infinity
Clone this wiki locally