sumup¶
Synopsis¶
db sumup <smf_type> [OPTIONS] …
Description¶
sumup is an interactive command line tool that asks some questions about further options if required and then summarize the databases of the smf type specified and the chosen summary level.
smf_typ is the SMF type to be summarized by this program. Currently, only 30, 70 - 75, 77, 78, 110_1, 110_2, 123 are supported.
Options¶
- --summary_level=<15min|hourly|daily>¶
This is the summary level to be summarized. Currently, only smf type
110_1and123allow summary level15minwhile all smf types will supporthourlyanddailysummary level.
- -U USERNAME, --username=USERNAME¶
This USERNAME will be used to connect to the database.
- -W PASSWORD, --password=PASSWORD¶
It is used to connect to the database.
- --ssh_user=USERNAME¶
This USERNAME will be used to connect to the SSH Server if ssh is used.
- --ssh_password=PASSWORD¶
It is used to connect to the SSH Server if ssh is used.
- --config_file=CONFIG_FILE_PATH¶
It is the absolute or relative config file path of the config file. The file extension must be
.yaml.
- -s START-TIME, --start_time=START-TIME¶
If specified, the program will summarize the records in databases starting from this time. Defaults to
2000-01-01 00:00.
- -e END-TIME, --end_time=END-TIME¶
If specified, the program will summarize the records in databases before this time. Defaults to
current time.
- -h, --help¶
Display usage summary.