High Quality JMS Messaging.

Sum [sum]

Syntax:

    sum [<prop1> <prop2> ...]

Computes the sum of property values of an entity list. It returns also the number of entities (count) in this entity list. Only properties of type java.lang.Integer, java.lang.Long, java.lang.Double and java.lang.String can be aggregated. The latter are converted to Double, if possible.

Example:

    router1> cc /sys$net/usage
    router1/sys$net/usage> sum
    count: 3
    router1/sys$net/usage> sum throughput-input throughput-output
    count: 3
    throughput-input: 338.36
    throughput-output: 309.63
    router1/sys$net/usage> cc /sys$jms/usage
    router1/sys$jms/usage> sum msgs-sent msgs-received total-sent total-received
    count: 3
    msgs-sent: 1516
    msgs-received: 1516
    total-sent: 61264
    total-received: 61263
    router1/sys$jms/usage>