stat.flexfs collects usage statistics from admin servers, stores them in its database, and sends periodic usage reports via SMTP. It also manages license grants that are returned to admin servers as part of the stats relay flow.
Subcommand Description startStart the statistics server init credsInitialize the credentials file init systemdCreate and enable a systemd service unit deinit credsRemove the credentials file deinit systemdRemove the systemd service unit versionPrint the build version licensePrint license information
stat .flexfs start [flags]
Flag Type Default Description --credsFilestring ~/.flexfs/stat/credsCredentials file path
All flags on this page are internal.
Flag Type Default Description --bindAddrstring 0.0.0.0:443Address and port to bind --dbFolderstring ~/.flexfs/statDatabase folder path --keyFolderstring ~/.flexfs/licenseSigning key folder path --mockTimebool falseSimulate time as 5 minutes after last reported_at --noSSLbool falseDisable SSL for the REST API --pprofbool falseEnable pprof profiler --smtpAddrstring SMTP server address (overrides creds file) --smtpFromstring SMTP from email address (overrides creds file) --smtpPassstring SMTP server password (overrides creds file) --smtpTostring SMTP to email addresses (overrides creds file) --smtpUserstring SMTP server username (overrides creds file) --sqliteOptsstring (default tuning) Database connection tuning options --sslCertstring ~/.flexfs/ssl/certSSL certificate file path --sslKeystring ~/.flexfs/ssl/keySSL private key file path --verbose , -vbool falseEnable verbose logging