hpct-importer(1) General Commands Manual hpct-importer(1) NAME hpct-importer -- HiPerConTracer Trace Data Importer SYNOPSIS hpct-importer [-C importer_configuration | --importer-config importer_- configuration] [-D database_configuration | --database-- config database_configuration] [-L level | --loglevel level] [-Z on|off | --logcolor on|off] [-O file | --logfile file] [-q | --quiet] [-w | --verbose] [-X mode | --import-mode mode] [-Y depth | --import-max-depth depth] [-I path | --import-file-path path] [-B path | --bad-file-path path] [-G path | --good-file-path path] [-F filter_- regexp | --import-file-path-filter filter_regexp] [-Q | --quit-when-idle] [--ping-workers number] [--ping-files number] [--traceroute-workers number] [--traceroute-files number] hpct-importer [-h | --help] hpct-importer [-v | --version] DESCRIPTION hpct-importer imports HiPerConTracer results into an SQL or NoSQL database. Currently, the following database backends are supported: MySQL/MariaDB (SQL), PostgreSQL (SQL), MongoDB (NoSQL). Results files imported successfully can be moved into a "good" directory, deleted or kept as-in (for debugging only!). Results files which failed to import are moved into a "bad" directory. The input of multiple input files can be combined into a single database transaction, to improve performance on short files. In case of an import error, each file is imported sequentially to identify faulty ones. ARGUMENTS The following arguments may be provided: -L level | --loglevel level Sets the minimum logging level to the provided value: 0=trace, 1=debug, 2=info, 3=warning, 4=error, 5=fatal. -Z on|off | --logcolor on|off Enables (on) or disables (off) the usage of ANSI color escape se- quences to colorise the log output according to its level. -O file | --logfile file Sets a file name for appending the log output to. If a file is set, no log output is made to the console. Otherwise, all log output will be written to the console. -q | --quiet Sets the minimum logging level to 3 (warning). -w | --verbose Sets the minimum logging level to 0 (trace). -C importer_configuration | --importer-config importer_configuration Sets the name of the importer configuration file. This option must be provided! See /usr/share/hipercontracer/hipercontracer-importer.conf for an example. -D database_configuration | --database-config database_configuration Sets the name of the database configuration file. This option must be provided! See /usr/share/hipercontracer/hipercontracer-database.conf for an example. -X mode | --import-mode mode Specifies the import mode, overriding the mode read from the data- base configuration file: DeleteImportedFiles (delete successfully imported files) MoveImportedFiles (move successfully imported files into "good" directory), KeepImportedFiles (keep successfully im- ported files where they are). Do not use KeepImportedFiles except for testing. Otherwise, the next re-run of hpct-importer tries to import them again! They may create duplicates when the underlying database system (e.g. NoSQL without unique indices) does not ensure uniqueness! -Y depth | --import-max-depth depth Specifies the import directory traversal depth, overriding the mode read from the database configuration file. -I path | --import-file-path path Specifies the import file path, overriding the mode read from the database configuration file. This path is used to look for files to import. -B path | --bad-file-path path Specifies the "good" file path, overriding the mode read from the database configuration file. This path is used to move success- fully imported files to, when the import mode is set to KeepImport- edFiles. -G path | --good-file-path path Specifies the "bad" file path, overriding the mode read from the database configuration file. This path is used to move files to which failed to import. -F filter_regexp | --import-file-path-filter filter_regexp Specifies the import path filter, overriding the mode read from the database configuration file. This filter can be used to only im- port a subset of the import files for testing. The filter expres- sion is an std::regex regular expression. -Q | --quit-when-idle Quit importer when all workers are idle. This will perform only one import round. --ping-workers number Sets the number of Ping import workers. Default: 1. An import file is distributed to a worker by hashing the source address given in the file name. --ping-files number Sets the number of Ping import files per database transaction. De- fault: 1. --traceroute-workers number Sets the number of Traceroute import workers. Default: 1. An im- port file is distributed to a worker by hashing the source address given in the file name. --traceroute-files number Sets the number of Traceroute import files per database transac- tion. Default: 1. -h | --help Prints command help. -v | --version Prints program version. EXIT STATUS The hpct-importer tool exits with 0 on success, and >0 in case of an error. EXAMPLES hpct-importer -C hipercontracer-importer.conf -D hipercontracer-database.conf hpct-importer --importer-config hipercontracer-importer.conf --database-config hipercontracer-database.conf --verbose hpct-importer -C hipercontracer-importer.conf -D hipercontracer-database.conf -F 1234/.* hpct-importer --version hpct-importer -h NOTES This program is part of HiPerConTracer. The latest version of HiPerCon- Tracer can be found on the HiPerConTracer Homepage at HiPerConTracer Home- page. AUTHORS Thomas Dreibholz, Homepage hpct-importer May 26, 2026 hpct-importer(1)
NAME | SYNOPSIS | DESCRIPTION | ARGUMENTS | EXIT STATUS | EXAMPLES | NOTES | AUTHORS
Want to link to this manual page? Use this URL:
<https://man.FreeBSD.org/cgi/man.cgi?query=hpct-importer&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>