Link to home
Start Free TrialLog in
Avatar of lolaferrari
lolaferrariFlag for United Kingdom of Great Britain and Northern Ireland

asked on

tcpdump

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?
ASKER CERTIFIED SOLUTION
Avatar of farzanj
farzanj
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lolaferrari

ASKER

many thanks