

The following example will capture the network traffic to 20 files, each sized 100 KB, and then the capture will stop automatically. In that situation, instead of storing all the outputs in a single file, you may want to automatically break down the captures into multiple files based on a size that you specify. You like to use these captures later to analyze the data. You’ll understand how to auto-save captures to multiple files, auto-save captures based on time limits, specify your own buffer size for capture, extract specific fields from the capture, and display statistics for a specific protocol from a capture.įor example on your production server, you want to capture traffic data for an extended period of time. This tutorial explains few practical and useful scenarios in using the tshark command.
