https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=14278
Bug ID: 14278
Summary: print stats when SIGUSR1 or other signal is received
Product: Wireshark
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: Enhancement
Priority: Low
Component: TShark
Assignee: bugzilla-ad...@wireshark.org
Reporter: mdi...@grulic.org.ar
Target Milestone: ---
Build Information:
--
tshark in stats mode (-z) can print stats when the capture is finished. For UDP
protocols like RTP, these stats are difficult to calculate in other fashion, so
it would be really useful if we could make tshark spit the stats on a regular
basis with a signal, dd style:
Sending a USR1 signal to a running 'dd' process makes it print I/O statistics
to standard error and then resume copying.
tshark would need to reset is counters after the stats are calculated, so the
next signal just print stats between signals.
The equivalent I found so far is (as I remember it, I don't have the script
with me right now):
while true; do
tshark -z rtp,streams -a duration:60 > rtp_stats.log
done
This bug and 10759 would be very useful for monitoring.
--
You are receiving this mail because:
You are watching all bug changes.
___________________________________________________________________________
Sent via: Wireshark-bugs mailing list <wireshark-bugs@wireshark.org>
Archives: https://www.wireshark.org/lists/wireshark-bugs
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-bugs
mailto:wireshark-bugs-requ...@wireshark.org?subject=unsubscribe