hpct-importer(1)
π hpct-importer(1) β the girlies' guide to the HiPerConTracer Trace Data Importer π
okay so bestie, welcome to hpct-importer, a General Commands Manual page, and honestly? she's iconic. this little tool grabs your HiPerConTracer results and yeets them into a database. let me walk you through it, no gatekeeping π
β¨ NAME β¨
hpct-importer β HiPerConTracer Trace Data Importer
π¦ SYNOPSIS π¦
like, here's the shape of the thing, copy-paste ready:
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 πΈ
so what does she do? hpct-importer imports HiPerConTracer results into an SQL or NoSQL database. and rn, these are the database backends she supports:
- MySQL/MariaDB (SQL)
- PostgreSQL (SQL)
- MongoDB (NoSQL)
results files that imported successfully can be moved into a "good" directory, deleted, or kept as-in β and bestie, keeping them is for debugging only! π«£
results files that failed to import get moved into a "bad" directory. that's the vibe check they failed.
also, the input of multiple input files can be combined into a single database transaction, which improves performance on short files π. but if there's an import error? each file gets imported sequentially so we can figure out which ones are the faulty little guys.
π ARGUMENTS π
the following arguments may be provided:
-Llevel,--loglevellevel β sets the minimum logging level to the provided value:0=trace,1=debug,2=info,3=warning,4=error,5=fatal.-Zon|off,--logcoloron|off β enables (on) or disables (off) the usage of ANSI color escape sequences to colorise the log output according to its level. yes she's serving colorful logs π-Ofile,--logfilefile β 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 to3(warning). shhh π€«-w,--verboseβ sets the minimum logging level to0(trace). she's telling you everything.-Cimporter_configuration,--importer-configimporter_configuration β sets the name of the importer configuration file. this option must be provided! see/usr/share/hipercontracer/hipercontracer-importer.conffor an example.-Ddatabase_configuration,--database-configdatabase_configuration β sets the name of the database configuration file. this option must be provided! see/usr/share/hipercontracer/hipercontracer-database.conffor an example.-Xmode,--import-modemode β specifies the import mode, overriding the mode read from the database configuration file:DeleteImportedFiles(delete successfully imported files),MoveImportedFiles(move successfully imported files into "good" directory),KeepImportedFiles(keep successfully imported files where they are). do not useKeepImportedFilesexcept for testing. otherwise, the next re-run ofhpct-importertries to import them again! they may create duplicates when the underlying database system (e.g. NoSQL without unique indices) does not ensure uniqueness! π-Ydepth,--import-max-depthdepth β specifies the import directory traversal depth, overriding the mode read from the database configuration file.-Ipath,--import-file-pathpath β specifies the import file path, overriding the mode read from the database configuration file. this path is used to look for files to import. π-Bpath,--bad-file-pathpath β specifies the "good" file path, overriding the mode read from the database configuration file. this path is used to move successfully imported files to, when the import mode is set toKeepImportedFiles.-Gpath,--good-file-pathpath β 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.-Ffilter_regexp,--import-file-path-filterfilter_regexp β specifies the import path filter, overriding the mode read from the database configuration file. this filter can be used to only import a subset of the import files for testing. the filter expression is anstd::regexregular expression. regex girlies rise π§-Q,--quit-when-idleβ quit importer when all workers are idle. this will perform only one import round.--ping-workersnumber β 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-filesnumber β sets the number of Ping import files per database transaction. default:1.--traceroute-workersnumber β sets the number of Traceroute import workers. default:1. an import file is distributed to a worker by hashing the source address given in the file name.--traceroute-filesnumber β sets the number of Traceroute import files per database transaction. default:1.-h,--helpβ prints command help. bestie behaviour fr fr.-v,--versionβ prints program version.
π EXIT STATUS π
the hpct-importer tool exits with 0 on success, and >0 in case of an error. zero is slay, anything else is a whole situation π
π₯ EXAMPLES π₯
here's how the girlies actually run her:
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 HiPerConTracer can be found on the HiPerConTracer Homepage at HiPerConTracer Homepage: https://www.nntb.no/~dreibh/hipercontracer/. go look, she's worth it β¨
π AUTHORS π
Thomas Dreibholz, Homepage: https://www.nntb.no/~dreibh
and that's the whole page, bestie π«Ά this was hpct-importer, from the General Commands Manual, sourced and versioned as hpct-importer and dated August 31, 2026. main character energy, no cap. periodt π
π
π¦ where this page comes from
- ubuntu stonking: hipercontracer-importer 2.2.10-1 Β· GPL-3.0-or-later
- Copyright (C) 2015-2026 by Thomas Dreibholz
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms