DTrace Aggregating Functions

 
By Ifeyinwa Okoye and John Stearns, August 2006  
 
DTrace Aggregating Functions
 
 
Name
Arguments
Result
count
none
Number of times called.
sum
scalar expression
Total value of the specified expressions.
avg
scalar expression
Arithmetic average of the specified expressions.
min
scalar expression
Smallest value among the specified expressions.
max
scalar expression
Largest value among the specified expressions.
lquantize
scalar expression, lower bound, upper bound, step value
A linear frequency distribution, sized by the specified range, of the values of the specified expressions. Increments the value in the highest bucket that is less than the specified expression.
quantize
scalar expression
A power-of-two frequency distribution of the values of the specified expressions. Increments the value in the highest power-of-two bucket that is less than the specified expression.