• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 410
  • Last Modified:


I'm experiencing tcp/ip timeouts between 2 hosts and i don't know if it's the operating system or the application that has the problem. I want to run tcpdump to try and find out why they are happening. i can limit the tcpdump by destination address and also port number but is there a way to limit the size of the file that it's written to to say 1GB and less - i want to cron it and leave it running and i don't want it to fill up the filesystem.
tcpdump -w <file> port <portno> dst <ip>
Does anyone know the best flags to use to get a more readable output from tcpdump?
1 Solution
Yes, sure use

tcpdump -C filesize

option to restrict the file size.
lolaferrariAuthor Commented:
many thanks

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now