win2caps¶
WIN CAPS plugin. Sends data read from socket or file to CAPS.
Module Configuration¶
etc/defaults/global.cfg
etc/defaults/win2caps.cfg
etc/global.cfg
etc/win2caps.cfg
~/.seiscomp/global.cfg
~/.seiscomp/win2caps.cfg
win2caps inherits global options.
Note
Modules/plugins may require a license file. The default path to license
files is @DATADIR@/licenses/
which can be overridden by global
configuration of the parameter gempa.licensePath
. Example:
gempa.licensePath = @CONFIGDIR@/licenses
- input.port¶
Default:
18000
Type: uint
Listen for incoming packets at given port
- output.host¶
Default:
localhost
Type: string
Data output host
- output.port¶
Default:
18003
Type: int
Data output port
- output.bufferSize¶
Default:
1048576
Type: uint
Size (bytes) of the packet buffer
- streams.file¶
Type: string
File to read streams from. Each line defines a mapping between a station and stream id. Line format is [ID NET.STA].
Command-Line Options¶
Generic¶
- -h, --help¶
Show help message.
- -V, --version¶
Show version information.
- --config-file arg¶
Use alternative configuration file. When this option is used the loading of all stages is disabled. Only the given configuration file is parsed and used. To use another name for the configuration create a symbolic link of the application or copy it. Example: scautopick -> scautopick2.
Verbosity¶
- --verbosity arg¶
Verbosity level [0..4]. 0:quiet, 1:error, 2:warning, 3:info, 4:debug.
- -v, --v¶
Increase verbosity level (may be repeated, eg. -vv).
- -q, --quiet¶
Quiet mode: no logging output.
- --print-component arg¶
For each log entry print the component right after the log level. By default the component output is enabled for file output but disabled for console output.
- --component arg¶
Limit the logging to a certain component. This option can be given more than once.
- -s, --syslog¶
Use syslog logging backend. The output usually goes to /var/lib/messages.
- -l, --lockfile arg¶
Path to lock file.
- --console arg¶
Send log output to stdout.
- --debug¶
Execute in debug mode. Equivalent to --verbosity=4 --console=1 .
- --trace¶
Execute in trace mode. Equivalent to --verbosity=4 --console=1 --print-component=1 --print-context=1 .
- --log-file arg¶
Use alternative log file.
Input¶
- --station arg¶
Sets the station and sampling interval to use. Format is [net.sta@?]
- -f, --file arg¶
Load CREX data directly from file
- --read-from arg¶
Read packets from this file
- --port arg¶
Listen for incoming packets at given port
Output¶
- -H, --host arg¶
Data output host
- -p, --port arg¶
Data output port
Streams¶
- --streams-file arg¶
File to read streams from. Each line defines a mapping between a station and stream id. Line format is [ID NET.STA].