Re: [tcpdump-workers] Timestamp altering

2002-05-06 Thread Guy Harris

On Mon, May 06, 2002 at 12:28:33PM -0700, Harry Putnam wrote:
 How can I get a different timestamp?  I want the date too.

At least with the current version, you get that with

tcpdump -

as per the man page:

 -t   Don't print a timestamp on each dump line.

 -tt  Print an unformatted timestamp on each dump line.

 -ttt Print a delta (in micro-seconds)  between  current  and
  previous line on each dump line.

 -
  Print a timestamp in default format proceeded  by  date
  on each dump line.  -u Print undecoded NFS handles.

(which has a formatting error - the -u stuff should be in a separate
paragraph).
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe



Re: [tcpdump-workers] Timestamp altering

2002-05-06 Thread Harry Putnam

Guy Harris [EMAIL PROTECTED] writes:

 On Mon, May 06, 2002 at 12:28:33PM -0700, Harry Putnam wrote:
 How can I get a different timestamp?  I want the date too.

 At least with the current version, you get that with

   tcpdump -

 as per the man page:

  -t Don't print a timestamp on each dump line.

  -tt  Print   an unformatted timestamp on each dump line.

  -ttt Print   a delta (in micro-seconds)  between  current  and
 previous line on each dump line.

  -
 Print a timestamp in default format proceeded  by  date
 on each dump line.  -u Print undecoded NFS handles.


Well, even with the format error, it beats the heck of my man page
(version 3.6) which doesn't show anyting beyond -tt.

Time for upgrade I guess.

-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe



Re: [tcpdump-workers] Timestamp altering

2002-05-06 Thread Guy Harris

On Mon, May 06, 2002 at 02:32:56PM -0700, Harry Putnam wrote:
 Well, even with the format error, it beats the heck of my man page
 (version 3.6) which doesn't show anyting beyond -tt.
 
 Time for upgrade I guess.

Yeah, an upgrade will give you a better man page. :-)

It will not, however, add support for -; the code to support
- was already *in* 3.6.2 (and 3.6.1), so it can't be added. :-)

Unfortunately, when the code was added, the man page wasn't updated. 
(Sigh, not everybody who changes the UI of tcpdump - or Ethereal, for
that matter - sends in documentation updates.)
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe