Displaying Multiple Statistics Using Wildcards and Slice Notation
Similar to resources, you can specify multiple statistics with one SSID by using the *
wildcard or the s
(slice) keyword. Statistic slice notation is useful for specifying the arguments for an operation as shown in Performing Operations on Statistic Values.
The following example lists all statistics that have block
in their
name:
$ sstore list //:class.fs//:res.mountpoint//var/share//:stat.*block*
IDENTIFIER
//:class.fs//:res.mountpoint//var/share//:stat.available-blocks
//:class.fs//:res.mountpoint//var/share//:stat.block-size
//:class.fs//:res.mountpoint//var/share//:stat.free-blocks
//:class.fs//:res.mountpoint//var/share//:stat.total-blocks
The following example specifies statistic slices:
$ sstore list \ > //:class.fs//:res.mountpoint//var/share//:stat.//:s.[block-size,free-blocks] IDENTIFIER //:class.fs//:res.mountpoint//var/share//:stat.block-size //:class.fs//:res.mountpoint//var/share//:stat.free-blocks