rvtrace
Command
Syntax
rvtrace [-iinterface]
[-rinput_file]
[-addrexpr]
[-srcexpr]
[-dstexpr]
[-portexpr]
[-filterexpr]
[-woutput_file]
[-w-max-sizesize]
[-w-max-rotationsn]
[-no-display]
[-addrinfo]
[-uupdate_interval]
[-no-mcast]
[-ptp]
[-no-subjects]
[-hostmsgs]
[-rate]
[-logfilelog_file]
[-log-max-sizesize]
[-log-max-rotationsn]
[-snmp]
[-foreground]
[-h]
Purpose
rvtrace is a network protocol monitor that specializes in Rendezvous protocols. It collects and prints statistics about network packets.
Remarks
rvtrace runs in a loop—capturing packets, analyzing them, categorizing them, and periodically printing a summary to standard output.
An rvtrace process never exits by itself (except as a consequence of a command syntax error); you must explicitly terminate each process.
Delimit all parameters and arguments with a space character.
|
Parameter |
Description |
|
Data Source
|
|
|
The program monitors packets on the network interface with this name. If absent, the default value varies, depending on operating system and network hardware. For Windows platforms, see also Selecting the Network Interface. |
|
|
When present, read recorded packets from This option overrides the For more information, see Data Capture Files. |
|
|
Data Filtering
|
|
|
Filter the set of packets to process only those with source or destination in the set of hosts or networks specified in Enclose filter expressions in quotation marks ( The parameter -filter udp and (src When any of the parameters |
|
|
Filter the set of packets to process only those that originate from the set of hosts or networks specified in Enclose filter expressions in quotation marks ( The parameter -filter udp and src
When any of the parameters |
|
|
Filter the set of packets to process only those with destination in the set of hosts or networks specified in Enclose filter expressions in quotation marks ( The parameter -filter udp and dst
When any of the parameters |
|
|
Filter the set of packets to process only those with destination port in the set of ports specified in Enclose filter expressions in quotation marks ( The parameter -filter udp and dst port
When any of the parameters |
|
|
Filter the set of packets to process only those that match Enclose filter expressions in quotation marks ( When present, this parameter overrides the |
|
|
Data Capture
|
|
|
When present, write packet information to When absent, do not record packet information to a file. For more information, see Data Capture Files. When When both |
|
|
-w-max-rotations |
When present, activate the capture-file rotation regimen (see Data Capture Files and Log Rotation). When you specify these options, you must also specify
|
|
Statistics
|
|
|
When present, do not output statistics. Nonetheless, When absent, |
|
|
Summarize network packet at this time interval (in seconds). If absent, the default value is 10 seconds. |
|
|
When present, display network totals, subtotals, and detail rows. When absent, display only network totals and subtotal rows. For example output, see rvtrace Output with -addrinfo, and rvtrace Output without -addrinfo. |
|
|
When present, omit the multicast table. When absent, display the multicast table; see Multicast Data Statistics. |
|
|
When present, display the point-to-point table; see Point-to-Point Statistics; see also Range Limitations. When absent, omit the point-to-point table. |
|
|
When present, omit the subject table. When absent, display the subject table; see Subject Statistics. |
|
|
When present, display Rendezvous |
|
|
When present, display packet counts as per-second rates. When absent, display the actual number of packets in the update interval. |
|
|
Log Output
|
|
|
Send log output to this file. When absent, the default is |
|
|
-log-max-rotations |
When present, activate the log rotation regimen (see Log Rotation). When you specify these options, you must also specify
|
|
Other
|
|
|
When present, When absent, |
|
|
Available only on UNIX platforms. When present, When absent, |
|
|
When present, output a parameter usage list to standard output, and exit immediately. |
|
Errors
| • | rvtrace uses the pcap facility, which requires root privileges (because it must open the raw Ethernet device in promiscuous mode). Without appropriate privileges, pcap denies permission to initialize, and rvtrace exits immediately. |
| • | The pcap library calls reject improperly formed filter expressions. It reports them with messages such as this: |
pcap_compile: syntax error
This error causes rvtrace to exit.