Skip to content

Output module

deadc0de edited this page Nov 23, 2017 · 9 revisions

Output modes

Besides using different output modules, several modes can be chosen. The option from the CLI is -O --outmode and requires an integer:

  • -outmode 0: output on master which means every result is sent through message passing to the master node by each fingerprinting process. The results are sent one by one, as they're received, to the output module(s)
  • --outmode 1: output on the fingerprinting process which means every erlang process (children of the supervisor) takes care of outputting the result itself. If for example you choose out_file with this mode, the output file will be written in each node and you'll have to aggregate them by hand.
  • --outmode greater than 1: results are sent to the broker by the fingeprinting process. The value (greater than 1) will define the buffering that will be used before outputting. This is typically used for outputting to a databases.

Clone this wiki locally