Search:
wiki:sniffspectra
Last modified 19 months ago Last modified on 02/26/12 12:46:44

# Earthworm Module: sniffspectra

Contributed by:

## Function

Latches onto a user-defined transport ring, reads every spectra message (as from ewspectra); prints information to screen or to a file

## Details

The sniffspectra module monitors a ring for spectra messages (as produced by ewspectra) and produces an overview or their complete contents, either to the console or to a file. All options are specified via the command line; its usage is as follows:

    Usage: sniffspectra  [-d] [-f [dir_path]]
         No flags: headers of ring's messages printed.
         -d flag:  data from ring's messages printed.
         -f flag:  content from ring's messages each written to a file.
                   If dir_path is provided, files created there; otherwise in pwd
         Flags -d and -f may not both be present

## Helpful Hints

### Download in other formats:

- Plain Text