DOKK / manpages / debian 12 / torrus-common / torrus_srvderive.8.en
TORRUS_SRVDERIVE(8) torrus TORRUS_SRVDERIVE(8)

srvderive - Derive a new service ID from sum or maximum of other service values

torrus srvderive TIMESPAN OUTPUT FUNCTION SOURCES...

When the Torrus Reporting engine is set up, this command is used to combine several services data into a new service ID. The output data is either the maximum or the sum of input services.

See Torrus Reporting Setup Guide for more information.

Either --month or --end option must be defined

Sets the start date of the calculation.
Sets the next day after the eond of the period.
Instead of setting the end data, it is convenient to use this option. It sets the end data in one calendar month after the start date.

Sets the output service ID. This should not be a service ID used in the Torrus datasource trees. Note: if srvderive command is run twice with the same arguments, the produced data is doubled for the output service ID.

Sets the function to be used when combining the input service data. Currently only "MAX" and "SUM" are supportted.

Input service IDs are specified either by --in option, or as command line arguments. At least 2 input service IDs should be specified.

Default: 300. Sets the data interval for derived service ID. It is recommended to leave this option at default value.
Prints extra informatgion.
Prints debugging information.
Prints command usage information.

torrus(8)

See more documentation at Torrus home page: http://torrus.org

Stanislav Sinyagin <ssinyagin@k-open.com>

2023-05-02 torrus 3.00