Go to main content

Using Oracle® Solaris 11.4 StatsStore and System Web Interface

Exit Print View

Updated: February 2019
 
 

Number of Data Points

Use the op.count operation to show the number of occurrences of an SSID.

The following example shows that this system experienced 20 faults between the time specified by the -t option and the time shown in the TIME column:

$ sstore export -t 2016-06-01T08:00:00 //:class.event//:event.fault//:op.count
TIME                VALUE IDENTIFIER
2016-06-11T20:33:00 20 //:class.event//:event.fault//:op.count

The following example shows that the svc:/system/webui/server:default service has been restarted by an administrator four times since the time given in the -t option, with the last time being the time in the TIME column.

$ sstore export -t 2016-06-01T08:00:00 \
> "//:class.event//:event.adm-action//:op.filter(fmri/value=svc:/system/webui,event=AUE_smf_restart)//:op.count"
TIME                VALUE IDENTIFIER
2016-06-11T19:09:38 4 //:class.event//:event.adm-action//:op.filter(fmri/value=svc:/system/webui, event=AUE_smf_restart)//:op.count