Changes between Initial Version and Version 1 of sniffring


Ignore:
Timestamp:
02/26/12 12:45:08 (8 years ago)
Author:
branden
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sniffring

    v1 v1  
     1[[PageOutline]] 
     2 
     3= [wiki:Earthworm Earthworm] Module: sniffring = 
     4'''Contributed by: Lynn Dietz at USGS, Menlo Park''' 
     5== Function == 
     6Latches onto a user-defined transport ring, reads every message and prints logo to screen. 
     7== Details == 
     8Sniffring is a command line debugging tool that latches onto a user-specified transport ring and reads every message on that ring. It prints to screen the logo, sequence # and length of the message, followed by the message itself (except for binary waveform messages). 
     9{{{ 
     10Usage 1:  sniffring [-n]  
     11Usage 2:  sniffring [-n]     
     12Usage 3:  sniffring [-n]  verbose 
     13Usage 4:  sniffring [-n]     verbose 
     14Sniffring shows full ring, inst and module names if 'v' or 
     15'verbose' is specified as the final parameter. Otherwise you'll 
     16see numeric IDs for these three, as defined in earthworm*.d files. 
     17(Modules from external installations are not identified other than by number.) 
     18A new option is -n to not flush the ring of all messages first, must be before ringname if used 
     19the default is to flush the ring of all messages and only show those that come in after invocation 
     20}}} 
     21Example Output: 
     22{{{ 
     23>sniffring WAVE_RING 
     241163352566 Received <inst: 4> <mod:100> <type: 3> <seq: 89> <Length: 16> 
     251163352566 3400 
     261163352577 Received <inst: 4> <mod:132> <type: 3> <seq: 57> <Length: 16> 
     271163352577 5404 
     28 
     291163352579 Received <inst: 4> <mod:100> <type: 19> <seq: 47> <Length: 2064> 
     301163352581 Received <inst: 4> <mod:100> <type: 19> <seq: 48> <Length: 2064> 
     311163352581 Received <inst: 4> <mod:100> <type: 19> <seq: 49> <Length: 2064> 
     321163352584 Received <inst: 4> <mod:100> <type: 19> <seq: 50> <Length: 2064> 
     331163352586 Received <inst: 4> <mod:100> <type: 19> <seq: 51> <Length: 2064> 
     341163352586 Received <inst: 4> <mod:100> <type: 19> <seq: 52> <Length: 2064> 
     351163352587 Received <inst: 59> <mod: 50> <type: 19> <seq:134> <Length: 86> 
     361163352587 Received <inst: 59> <mod: 50> <type: 19> <seq:135> <Length: 86> 
     371163352587 Received <inst: 59> <mod: 50> <type: 19> <seq:136> <Length: 86> 
     381163352588 Received <inst: 59> <mod: 50> <type: 19> <seq:137> <Length: 86> 
     391163352588 Received <inst: 59> <mod: 50> <type: 19> <seq:138> <Length: 86> 
     401163352588 Received <inst: 59> <mod: 50> <type: 19> <seq:139> <Length: 86> 
     411163352588 Received <inst: 59> <mod: 50> <type: 19> <seq:140> <Length: 86> 
     421163352588 Received <inst: 59> <mod: 50> <type: 19> <seq:141> <Length: 86> 
     431163352588 Received <inst: 4> <mod:129> <type: 3> <seq:154> <Length: 15> 
     441163352588 324 
     45 
     461163352588 Received <inst: 4> <mod:134> <type: 3> <seq:254> <Length: 13> 
     471163352588 0 
     48 
     491163352588 Received <inst: 4> <mod: 18> <type: 3> <seq:254> <Length: 11> 
     501163352588 
     51 
     521163352589 Received <inst: 4> <mod:100> <type: 19> <seq: 53> <Length: 2064> 
     53}}} 
     54 
     55 
     56== Helpful Hints ==