tcpdump -G option command format
From the <tcpdump> manual page
-G If specified, rotates the dump file specified with the -w option
every rotate_seconds seconds. Savefiles will have the name
If used in conjunction with the -C option, filenames will take
the form of ‘file<count>’.
I am running ubuntu 11.11 on my HP Probook (2.2G dual core, 2GB memory, 125G harddisk)
I try to capture the eth0 interface packets and create individual capture files every 1 min. using the following command:
# sudo tcpdump -i eth0 -s 1538 -G 60 -w tst201203231511
where the savefile format is tstyyyymmddhhmm
However, ubuntu just overwrite the captured data on the same file <tst20120323151
it does not create individual files as mentioned in the man page.
It could be the file format is incorrect. What should be the real catpure file format I should enter ?
thanks for adv !
-ricky-
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu tcpdump Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- richardk
- Solved:
- Last query:
- Last reply: