Go to main content

Using Oracle® Solaris 11.4 StatsStore and System Web Interface

Exit Print View

Updated: November 2020
 
 

Using the sstore Command in Interactive Mode

Invoking the sstore command with no subcommand opens an interactive, shell-like environment that enables you to quickly explore the statistics store namespace. See the sstore(1) man page for the full descriptions of commands that are supported in the sstore shell.

Example 4  Exploring Statistics in Interactive Mode

This example shows exploring the usage statistic in the cpu class in sstore interactive mode.

$ sstore
Interactive mode. Type help to see list of commands.
//: > help
sstore commands: capture export info list pwd select
sstore aliases:  cat cd ls
other commands:  alias help history exit quit shell !
//: > alias
alias cat=capture
alias cd=select
alias ls=list
//: > cd class.cpu
//:class.cpu//: > ls
event.adm-action
event.fault
res.id/0
res.id/1
stat.context-switches
stat.fpu-capacity
stat.fpu-usage
stat.integer-pipe-capacity
stat.integer-pipe-usage
stat.interrupt-count
stat.interrupt-time
stat.involuntary-context-switches
stat.system-calls
stat.thread-migrations-core
stat.thread-migrations-socket
stat.traps
stat.usage
stat.xcalls
//:class.cpu//: > ls -l
//:class.cpu//:event.adm-action CPU admin event
//:class.cpu//:event.fault      CPU fault event
//:class.cpu//:res.id/0 cpu instance
//:class.cpu//:res.id/1 cpu instance
//:class.cpu//:stat.context-switches    context switches
//:class.cpu//:stat.fpu-capacity        max floating point instructions per second
//:class.cpu//:stat.fpu-usage   floating point instructions
//:class.cpu//:stat.integer-pipe-capacity      max integer instructions per second
//:class.cpu//:stat.integer-pipe-usage  integer instructions
//:class.cpu//:stat.interrupt-count     interrupt count
//:class.cpu//:stat.interrupt-time      interrupt time
//:class.cpu//:stat.involuntary-context-switches      involuntary context switches
//:class.cpu//:stat.system-calls        system calls
//:class.cpu//:stat.thread-migrations-core      threads migrated to another core
//:class.cpu//:stat.thread-migrations-socket    threads migrated to another socket
//:class.cpu//:stat.traps       traps
//:class.cpu//:stat.usage       cpu time
//:class.cpu//:stat.xcalls      cross calls
//:class.cpu//: > info stat.usage
 Identifier: //:class.cpu//:stat.usage
    $schema: //:stat
  copyright: Copyright (c) 2014, 2016, Oracle and/or its affiliates.
description: cpu time
         id: //:class.cpu//:stat.usage
   localize: description
 multiplier: 1000000
  stability: stable
       type: counter
      units: milliseconds
     zeroes: False
 partitions: cpu
 partitions: mode
 partitions: zone
 partitions: core
 partitions: chip
 partitions: pg
 partitions: lgroup
//:class.cpu//: > cd stat.usage
//:class.cpu//:stat.usage//: > cd part.mode
//:class.cpu//:stat.usage//:part.mode//: > cat
TIME                VALUE IDENTIFIER
2020-08-28T00:35:20  //:class.cpu//:stat.usage//:part.mode//:part.chip
                    0: 192981675680.16354
                    1: 192981627774.54575
2020-08-28T00:35:20  //:class.cpu//:stat.usage//:part.mode//:part.core
                    0: 12061387159.680264
                    1: 12061352884.526672
2020-08-28T00:35:20  //:class.cpu//:stat.usage//:part.mode//:part.cpu
                    0: 1507703307.25418
                    1: 1507669112.690865
2020-08-28T00:35:20  //:class.cpu//:stat.usage//:part.mode//:part.lgroup
                    1: 192981675680.16354
2020-08-28T00:35:20  //:class.cpu//:stat.usage//:part.mode//:part.pg
                    1: 12061387159.680264
2020-08-28T00:35:20  //:class.cpu//:stat.usage//:part.mode//:part.zone
                    global: 385963303454.70905
^C//:class.cpu//:stat.usage//:part.mode//: > history
    1  help
    2  alias
    3  cd class.cpu
    4  ls
    5  ls -l
    6  info stat.usage
    7  cd stat.usage
    8  cd part.mode
    9  cat
//:class.cpu//:stat.usage//:part.mode//: > exit
$