Nicholas J Humfrey > Net-RTP-0.09 > rtpstats.pl

Download:
Net-RTP-0.09.tar.gz

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Source  

NAME ^

rtpstats.pl - Displays packet statistics for an RTP session

SYNOPSIS ^

rtpstats.pl <address> [<port>]

DESCRIPTION ^

rtpstats.pl displays packet statistics for an RTP session. It is a clone of rtpqual by Matthew B Mathis with a few changes in design. If no port is specified, then port 5004 is assumed.

rtpstats.pl uses seperate threads for recieving packets and displaying statistics, so version 5.8 or greater of perl is recommended for stable threading.

For every second that passes, a row is printed for each transmitter to the multicast group. The first (left-hand) second displays statistics for the current second, and the second (right-hand) second displays the cumulative totals for transmitter.

  1. The time in hours:minutes:seconds on the local host
  2. The number of packets recieved from the transmitter in the past second.
  3. The number of packets lost in the past second.
  4. The number of packets that arrived late (out-of-order) in the past second.
  5. The number of bytes (including estimated IP header size) in the past second.
  6. The total number of packets recieved from the transmitter.
  7. The total number of packets lost.
  8. The total number of packets late (out-of-order).
  9. The total number of kilobytes recieved from the transmitter.
  10. The average kilobits per second since the first packet was recieved.
  11. The IP address of the transmitter.

SEE ALSO ^

Net::RTP

Net::RTP::Packet

BUGS ^

Unicast addresses aren't currently detected and fail when trying to join multicast group.

AUTHOR ^

Nicholas J Humfrey, njh@cpan.org

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 University of Southampton

This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.008 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: