-wfilename|--writefilename
Write data to the file filename.
If the --gmtime or --localtime option is given, filename is preprocessed with strftime(). This
will allow specifying a format string which includes the date and time, for example, for the
created filename.
If filename is "-" and standard output is not connected to a terminal, fstrm_capture will write to
standard output. Output splitting (-s) may not be used with a filename of "-".
Sending SIGHUP to fstrm_capture will flush any buffered output to the file. Sending SIGUSR1 will
close and reopen the file.
-tcontent-type|--typecontent-type
Specify the content-type to receive from the socket and write to the output filename.
-usocket-path|--unixsocket-path
Listen on the Unix domain socket socket-path to receive Frame Streams data. Only one of -u or -a
may be given.
-aIP|--tcpIP
Listen for TCP connections on address IP to receive Frame Streams data. Only one of -u or -a may
be given. Use of -a requires a port given with -p.
-pport|--portport
If -a is given, listen on TCP port port to receive Frame Streams data.
-cmax-conns|--maxconnsmax-conns
Allow at most max-conns concurrent connections. If not specified, concurrent connections are not
limited.
-bbuffersize|--buffersizebuffersize
Set read buffer size to buffersize bytes. Combined with -c, this can be used to limit the total
memory usage of fstrm_capture. The buffersize also affects the maximum frame size which
fstrm_capture will accept. Frames larger than buffersize, including the 4-byte framing overhead,
will be discarded.
The default buffersize is 262144 (256KiB).
-sinterval|--splitinterval
Reopen output file every interval seconds. Requires the use of either the --gmtime or --localtime
options.
Note that this file rotation is triggered by incoming data, so it may be delayed after the
interval.
--gmtime
Process the --write filename through strftime() with the current time in GMT. This --gmtime
option may be used to provide a timestamped output file when starting fstrm_capture or when
reopening an output file using the --split option or when receiving a SIGUSR1 signal.
--localtime
Process the --write filename through strftime() with the current time in the system local time
zone. This --localtime option may be used to provide a timestamped output file when starting
fstrm_capture or when reopening an output file using the --split option or when receiving a
SIGUSR1 signal.
-d[-d...]|--debug[--debug]
Increase debugging level. Without -d, fstrm_capture prints only critical error messages. Up to
five -d options may be specified, after which more repetitions will have no effect.