diff options
author | Michael Tüxen <tuexen@fh-muenster.de> | 2013-03-10 11:57:40 +0000 |
---|---|---|
committer | Michael Tüxen <tuexen@fh-muenster.de> | 2013-03-10 11:57:40 +0000 |
commit | da07699dd36376e3b25c038a6e40954afd07baa1 (patch) | |
tree | 8975c2ca3fc2ecfe5042036d0bfcbbee910946ec /doc | |
parent | 58f61d29c7477bb1127fe07cb3e0804522bfbec5 (diff) |
Make the memory limit (in bytes or packets) used for storing packets
configurable via command line options and print specific drop numbers
at the end. This allows to tune the buffering when using multiple
threads.
This also fixes a logic arrow in enforcing the limits.
The patch for the enhanced counters is from Anders Broman.
svn path=/trunk/; revision=48223
Diffstat (limited to 'doc')
-rw-r--r-- | doc/dumpcap.pod | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/dumpcap.pod b/doc/dumpcap.pod index d279afd493..800388da76 100644 --- a/doc/dumpcap.pod +++ b/doc/dumpcap.pod @@ -10,6 +10,7 @@ S<[ B<-a> E<lt>capture autostop conditionE<gt> ] ...> S<[ B<-b> E<lt>capture ring buffer optionE<gt>] ...> S<[ B<-B> E<lt>capture buffer sizeE<gt> ] > S<[ B<-c> E<lt>capture packet countE<gt> ]> +S<[ B<-C> E<lt>byte limitE<gt> ]> S<[ B<-d> ]> S<[ B<-D> ]> S<[ B<-f> E<lt>capture filterE<gt> ]> @@ -20,6 +21,7 @@ S<[ B<-I> ]> S<[ B<-L> ]> S<[ B<-M> ]> S<[ B<-n> ]> +S<[ B<-N> E<lt>packet limitE<gt> ]> S<[ B<-p> ]> S<[ B<-P> ]> S<[ B<-q> ]> @@ -136,6 +138,13 @@ the default capture buffer size is used if provided. Set the maximum number of packets to read when capturing live data. +=item -C E<lt>byte limitE<gt> + +Limit the amount of memory in bytes used for storing captured packets +in memory while processing it. +If used in combination with the B<-N> option, both limits will apply. +Setting this limit will enable the usage of the separate thread per interface. + =item -d Dump the code generated for the capture filter in a human-readable form, @@ -245,6 +254,13 @@ B<TShark>; its format is subject to change from release to release. Save files as pcap-ng. This is the default. +=item -N E<lt>packet limitE<gt> + +Limit the number of packets used for storing captured packets +in memory while processing it. +If used in combination with the B<-C> option, both limits will apply. +Setting this limit will enable the usage of the separate thread per interface. + =item -p I<Don't> put the interface into promiscuous mode. Note that the |