Go to main content

Using Oracle® Solaris 11.4 StatsStore and System Web Interface

Exit Print View

Updated: February 2019
 
 

Minimum and Maximum Value

The op.min and op.max operations provide the minimum or maximum value among the specified SSID data points and can take an optional percentage argument.

  • op.min(pct) gives the value of all data points in the range from the minimum value to the minimum value plus the specified percentage of the difference between the maximum and minimum values: (min) − (min + (max-min) * pct/100)

  • op.max(pct) gives the value of all data points in the range from the maximum value to the minimum value plus the specified percentage of the difference between the maximum and minimum values: (max) − (min + (max-min) * pct/100)

The following data shows wide variance in the rate at which bytes are transmitted and received over the specified period:

$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.obytes//:op.rate
TIME                VALUE IDENTIFIER
2016-03-10T13:18:35 8354.912444753478 //:class.link/phys//:res.name/net0//:stat.obytes//:op.rate
2016-03-10T13:18:36 2073.0119815097323 //:class.link/phys//:res.name/net0//:stat.obytes//:op.rate
2016-03-10T13:18:37 0.0 //:class.link/phys//:res.name/net0//:stat.obytes//:op.rate
2016-03-10T13:18:38 2156.9465868493194 //:class.link/phys//:res.name/net0//:stat.obytes//:op.rate
$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate
TIME                VALUE IDENTIFIER
2016-03-10T13:18:35 9202.092374581405 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate
2016-03-10T13:18:36 8065.265410471358 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate
2016-03-10T13:18:37 59.94155698194261 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate
2016-03-10T13:18:38 8758.661754010182 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate

The following example shows the minimum and maximum rate at which bytes were received over the specified period:

$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.min
TIME                VALUE IDENTIFIER
2016-03-10T13:18:37 59.94155698194261 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.min
$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max
TIME                VALUE IDENTIFIER
2016-03-10T13:18:35 9202.092374581405 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max

The following example shows all transmission rates lower than 974.156638741888849 over the specified period. The boundary value 974.156638741888849 is (9202.092374581405 - 59.94155698194261) * 0.1, according to the formula.

$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.min(10)
TIME                VALUE IDENTIFIER
2016-03-10T13:18:37 59.94155698194261 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.min(10)

The following example shows all transmission rates higher than 974.156638741888849 over the specified period:

$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(10)
TIME                VALUE IDENTIFIER
2016-03-10T13:18:35 9202.092374581405 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(10)
2016-03-10T13:18:36 8065.265410471358 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(10)
2016-03-10T13:18:38 8758.661754010182 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(10)

The following example shows all transmission rates higher than 8767.409748676999641 (974.156638741888849 * 9) over the specified period:

$ sstore export -t 2016-03-10T13:18:34 -e 2016-03-10T13:18:38 \
> //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(90)
TIME                VALUE IDENTIFIER
2016-03-10T13:18:35 9202.092374581405 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(90)
2016-03-10T13:18:38 8758.661754010182 //:class.link/phys//:res.name/net0//:stat.rbytes//:op.rate//:op.max(90)