Wireshark mailing list archives
Re: Set capture to TZ blah?
From: Niels de Vos <ndevos () redhat com>
Date: Sat, 14 Mar 2015 19:47:18 +0100
On Sat, Mar 14, 2015 at 11:16:07AM -0700, Guy Harris wrote:
On Mar 14, 2015, at 8:00 AM, Niels de Vos <ndevos () redhat com> wrote:When I have captures and logs that do not match the timezone, I use the TZ environment variable to read the captures in the timezone of the logs, like: $ TZ=America/New_York tshark -r /path/to/capture.pcap.gz .... or $ TZ=America/New_York wireshark /path/to/capture.pcap.gzThat would work on systems using the IANA tz database (and using the new tz naming scheme; I'm not sure whether Solaris does), so it'd work on, at minimum, most if not all Linux distributions, *BSD, and OS X. However, it doesn't work on, for example, Windows, which doesn't use the IANA tz database. (That's why I suggested that we might want to incorporate the tz database in Wireshark.)
Oh, yes indeed. Some people might still run an operating system that does not support that... Thanks, Niels ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Set capture to TZ blah? Richard Sharpe (Mar 13)
- Re: Set capture to TZ blah? Guy Harris (Mar 13)
- Re: Set capture to TZ blah? Jeff Morriss (Mar 13)
- Re: Set capture to TZ blah? Niels de Vos (Mar 14)
- Re: Set capture to TZ blah? Guy Harris (Mar 14)
- Re: Set capture to TZ blah? Niels de Vos (Mar 14)
- Re: Set capture to TZ blah? Guy Harris (Mar 14)
- Re: Set capture to TZ blah? Jeff Morriss (Mar 14)
- Re: Set capture to TZ blah? Pascal Quantin (Mar 14)
- Re: Set capture to TZ blah? Guy Harris (Mar 14)
- Re: Set capture to TZ blah? Michal Labedzki (Mar 16)
- Re: Set capture to TZ blah? Richard Sharpe (Mar 16)
- Re: Set capture to TZ blah? Guy Harris (Mar 16)
- Re: Set capture to TZ blah? Guy Harris (Mar 14)