I am doing some captures of boot-up sequences and I want the timestamps to be relative to the time in which the connected hardware is turned on. I am starting the capture at the same time that I power the hardware on. I have "seconds since beginning of capture" selected for the Time Display Format, but it seems that this actually means time since first packet. As a result, instead of the timestamps being relative to power up, they are relative to the first packet sent to/from the NIC, which is seconds later (significant for my application) Is there a way to have the timestamp be relative to time at which the capture is actually triggered? asked 22 Feb '17, 08:20 broadcastgear |
One Answer:
Is there a way to have the timestamp be relative to time at which the capture is actually triggered? No, this isn't currently possible. If absolute time stamps work for you, you could add an absolute timestamp column; otherwise you could try to "seed" the capture file with a packet that you generate and capture immediately after wireshark is started - that way, the "time since first packet" and "time since capturing started" will essentially be the same, or hopefully close enough for your purposes. answered 22 Feb '17, 10:48 cmaynard ♦♦ |
Ok, thanks for the reply! Not a bad idea with the seeded packet in tandem with the capture.
If you decide to "seed" the capture with a packet, then of course you can send whatever you like, but here's a little script I use to send myself little syslog markers in the traces at various stages of capturing (e.g., "About to test feature xyz", "OK, things just failed.", ...) which you might find useful: