SSID is Unbrowsable or Unstable
If an SSID is classified as unbrowsable or unstable, use one of the following methods to get information about that SSID:
-
Specify the full SSID explicitly
-
If you want to use a wildcard in the SSID to match multiple SSIDs, use the
-a
option with thesstore
subcommand.
The following example shows that the kstat
class is not browsable, though you can get information when you specify the SSID without the wildcard.
$ sstore list //:class.kstat* Warning (//:class.kstat*) - lookup error: no matches found $ sstore info //:class.kstat Identifier: //:class.kstat description: kstat free-for-all namespace stability: stable browsable: False
All resources in the kstat
class are classified as unstable.
$ sstore list //:class.kstat//:res.*
Warning (//:class.kstat//:res.*) - lookup error: no matches found
You can get information or record data if you fully specify the SSID.
$ sstore info //:class.kstat//:res.system/cpu/0/intr Identifier: //:class.kstat//:res.system/cpu/0/intr stability: unstable type: Untyped description: CPU Interrupt statistics
If you need to use a wildcard, use the -a
option to get information or record data.
$ sstore list -a //:class.kstat//:res.system/cpu/0/intr//:* IDENTIFIER //:class.kstat//:res.system/cpu/0/intr//:stat.crtime //:class.kstat//:res.system/cpu/0/intr//:stat.level-count //:class.kstat//:res.system/cpu/0/intr//:stat.level-time //:class.kstat//:res.system/cpu/0/intr//:stat.snaptime $ sstore info //:class.kstat//:res.system/cpu/0/intr//:stat.snaptime Identifier: //:class.kstat//:res.system/cpu/0/intr//:stat.snaptime stability: unstable type: counter kstat name/value type: Relative time description: kstat snapshot time kstat scale: 1000000000
Some, but not all, //:class.net/ip
statistics are classified as unstable.
The following command records values for eight statistics:
$ sstore capture //:class.net/ip//:stat.*
The following command records values for 26 statistics:
$ sstore capture -a //:class.net/ip//:stat.*
If you name the statistic explicitly, you can get information or record data without using the -a
option.
$ sstore info //:class.net/ip//:stat.out-bytes Identifier: //:class.net/ip//:stat.out-bytes agg-name: bytes description: bytes sent partitions: link partitions: protocol partitions: local-address partitions: remote-address partitions: application ssid: //:class.net/ip//:stat.out-bytes units: bytes stability: unstable expensive: True type: counter $ sstore capture //:class.net/ip//:stat.out-bytes TIME VALUE IDENTIFIER 2016-05-18T15:15:06 1201563.0 //:class.net/ip//:stat.out-bytes
The sstore export
command does not require the -a
option because that data is already available.
$ sstore export //:class.net/ip//:stat.*
TIME VALUE IDENTIFIER
2016-05-18T14:10:41 34731 //:class.net/ip//:stat.in-delivers