Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: [Wireshark-users] Neet Help Printing Tshark Time Value

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: George Roebe <georgerroebe@xxxxxxxx>
Date: Tue, 12 Jan 2010 01:18:04 -0500

I need some help printing the time using tshark. I have a trace trace01 and I'm running the following command:
tshark -r trace01 -R "wlan.sa == xx:xx:xx:xx:xx:xx" -t e -T text -T fields -e frame.time
I need the time printed to the console from the epoch: The time in seconds since epoch (Jan 1, 1970 00:00:00), and I thought (according to the man page) that that's what the -t e command would do. However, it doesn't seem to work: I get times like
Jan 19, 2009 13:07:54.974012000

Is there any way I can get the epoch times alone printed to the screen or to a file?

Greatly appreciated.
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/196390710/direct/01/
  • Follow-Ups:
    • Re: [Wireshark-users] Neet Help Printing Tshark Time Value
      • From: Glover, mike
  • Prev by Date: Re: [Wireshark-users] Creating and Modifying Packets
  • Next by Date: Re: [Wireshark-users] Creating and Modifying Packets
  • Previous by thread: Re: [Wireshark-users] [Fwd: question format libcap X wireshark
  • Next by thread: Re: [Wireshark-users] Neet Help Printing Tshark Time Value
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation