Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Does tshark has an equivalent option of tcpdump [ -z postrotate-command ]

I would like to use tshark capture packets with rotated files infinitely, after each rotated file is finished, I want to upload the rotated file to remote for analysis due to limited local storage.

I read tshark man https://www.wireshark.org/docs/man-pages/tshark.html but it seems there is no equivalent option of tcpcump [ -z postrotate-command ].

Can I achieve the goal using tshark?

Does tshark has an equivalent option of tcpdump [ -z postrotate-command ]

I would like to use tshark capture packets with rotated files infinitely, after each rotated file is finished, I want to tshark to run post rotation command to upload the rotated file to remote for analysis due to limited local storage.

I read tshark man https://www.wireshark.org/docs/man-pages/tshark.html but it seems there is no equivalent option of tcpcump [ -z postrotate-command ].

Can I achieve the goal using tshark?