logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Stanislav Sinyagin <ssinyagin@k-open.com>

torrus 3.00                                        2023-05-02                                TORRUS_SRVDERIVE(8)

Description

       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 TorrusReportingSetupGuide for more information.

Function

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

Name

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

Notes

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

Options

--step
           Default: 300. Sets the data interval for derived service ID. It is recommended to leave  this  option
           at default value.

       --verbose
           Prints extra informatgion.

       --debug
           Prints debugging information.

       --help
           Prints command usage information.

Output

--out=SERVICEID
           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.

See Also

torrus(8)

Sources

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

Synopsis

torrussrvderiveTIMESPANOUTPUTFUNCTIONSOURCES...

Timespan

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

       --start=YYYY-MM-DD
           Sets the start date of the calculation.

       --end=YYYY-MM-DD
           Sets the next day after the eond of the period.

       --month
           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.

See Also