1.1

Table Of Contents
Example 1: Starting a Server with Statistics Archiving Enabled on page 399
Example 2: Viewing a Statistics Archive File on page 395
Example 3: Viewing All Statistics of a Specied Instance ID on page 396
Example 4: Viewing All Statistics of a Specied Instance ID and Stat ID on page 396
Example 5: Viewing One Statistic of a Specied Instance ID and Stat ID on page 397
Syntax
sqlf stats ([<instanceId>][:<typeId>][.<statId>])* [-details]
[-nofilter|-persec|-persample] [-prunezeros]
[-starttime=<time>] [-endtime=<time>] -archive=<statFile>
Description
To enable statistics generation with archiving, you congure the following properties when you start the SQLFire
server:
statistic-sampling-enabled=true
statistic-archive-file=<stats-archive-file-name>
To include timing statistics you set enable-time-statistics=true along with the above properties.
See Conguration Properties on page 315.
By default sqlf stats prints all statistics. You can use one or more statistics specication arguments to print
individual resources or a specic statistic. The format of a statistics specication is: an optional combine operator,
an optional instanceId, an optional typeId, and an optional statId.
The combine operator can be a plus (+) to combine all matches in the same le or a double plus (++) to combine
all matches across all les.
instanceId must be the name or id of a resource.
typeId is a colon (:) followed by the name of a resource type.
statId is a period (.) followed by the name of a statistic.
A typeId or instanceId with no statId prints out all the matching resources and all their statistics. A typeId or
instanceId with a statId prints out just the named statistic on the matching resources.
A statId with no typeId or instanceId matches all statistics with that name.
The table shows options for sqlf stats.
DescriptionOption
Prints static descriptions.-details
In conjunction with -archive, prints statistics as raw, unltered,
values.
-nolter
In conjunction with -archive, prints statistics as the rate of change,
per second, of the raw values.
-persec
In conjunction with -archive, prints statistics as the rate of change,
per sample, of the raw values.
-persample
In conjunction with -archive, suppresses printing those statistics that
have all zero values.
-prunezeros
In conjunction with -archive, ignores those statistics samples that
were taken before the specied time. The time argument format must
-starttime=<time>
vFabric SQLFire User's Guide394
vFabric SQLFire Reference