admin statistics

Description

Displays information and statistics about Replication Server counters.

Syntax

admin statistics, { module_name [, display_name] | ‘all_modules ‘ | sysmon 
	[, sample_period] }

Parameters

module_name

Displays statistics from all of a module’s active counters, where module_name is dsi, dsiexec, sqt, dcm, dist, rsi, sqm, repagent, mem, md, or mem_in_use. When used with display_name, returns statistics from one of the module’s counters.

display_name

Displays the name of a counter. Used to identify counters for RCL.

all_modules

Displays statistics from all active counters.

sysmon

Displays statistics from active counters for these modules: DSI, DSIEXEC, REPPAGENT, and RSI.

sample_period

The number of seconds for the sample run.

Examples

Example 1

Displays information from the DSI, DSIEXEC, REPAGENT, and RSI modules. Note that the information appears in a horizontal format on your screen – that is, with the counter names spread out horizontally on the screen.

admin statistics, sysmon
Performance Statistics for ost_10 Run: 02/07/01
11:10:29 PM

DSI: Statistics
---------------
Info             Instance_ID Instance_Val TransTotal 
---------------  ----------- ------------ ---------
103 ost_1.pbd1   103         -1           0
101 ost_2.emb    101         -1           0

NgTransTotal
------------
           0
           0
DSIEXEC: Statistics
-------------------
Info             Instance_ID Instance_Val NgTrans 
---------------- ----------- ------------ -------
103(0) ost_1.pdb1        103            1       0
101(0) ost_1.emb          101           1       0

CmdsApplied  InsertsRead  UpdatesRead  DeletesRead
-----------  ------------ ------------- -----------
          0            0             0            0
          0            0             0            0
ExecWriteText
--------------
             0
             0
REPAGENT: Statistics
--------------------
Info            Instance_ID Instance_Val CmdsTotal
--------------- ----------- ------------- --------
ost_11            16777318            -1        0
ost_1.emb              101            -1      388

CmdsApplied CmdsRequest
----------- -----------
          0           0
          0           0

RSI: Statistics
---------------
Info             Instance_ID Instance_Val BytesSent
---------------- ----------- ------------ ---------
ost_11              16777318          -1      1140
PacketsRead MsgsSent
----------- --------
         20        3

Example 2

Displays the total memory in use in bytes.

admin statistics, mem_in_use
Memory_in_Use
-------------
14215074

Example 3

Displays values for the dCM module.

admin statistics, cm
Info          Instance_ID Instance_Val dSUBwakeup
------------- ----------- ------------ ----------
dCM                   13            -1          7

dRECwakeup dSTATSwakeup
---------- ------------
         0           45

Usage

Displays information flushed to the rs_startrun and rs_statdetail system tables.

Permissions

Any user may execute this command.