Package org.jgroups.tests
Class ParsePacketDissections
java.lang.Object
org.jgroups.tests.ParsePacketDissections
If you use `tshark ... -w data.tshark > parsed.txt` when the test is over, the parse will continue running and
can take a lot of time.
In order to speed up, we are going to parse the output from `-w `
Open in Wireshark the output resulted from -w from the tshark command.
Columns: No. Time Source Destination Protocol length Info
Menu View - Time Display Format - Time of the Day
Menu View - Time Display Format - Automatic ( from capture file )
The hour in the Wireshark can be different when comparing with the the application log because of the timezone.
If you know the time of the error, you can apply a display filter to reduce the exported file size.
Example: frame.time >= "Jul 15, 2022 15:47:00" && frame.time <= "Jul 15, 2022 15:49:00"
Menu File - Export Packet Dissections - As Plain Text
Fill the File name:
All packets captured
Packet Format: ( keep selected only the folling )
Summary line
Bytes
In the bottom, a status bar with the progress will appear.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ParsePacketDissections
public ParsePacketDissections()
-
-
Method Details
-
main
- Throws:
Exception
-