admin statistics, sysmon command changes

Update syntax, parameters, and examples section of the admin statistics, sysmon command in the Reference Manual with the following:


admin statistics

Description

Displays information and statistics about Replication Server counters.

Syntax

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

Parameters

Examples

Example 1 Displays information for the DSI module and connection rds03.tpcc.

NoteThe information appears in a horizontal format on your screen – that is, the counter names are spread out horizontally on the screen.

1> admin statistics,sysmon
2> go
Sybase Replication Server Statistics Report
========================================================================

RepServer Name: prs03
Report Time: 11/10/03 01:22:53 PM
========================================================================
RepServer Runtime Configurations
--------------------------------
memory_limit:    900
init_sqm_write_delay:           1000
init_sqm_write_max_delay:               10000
sqm_write_flush:                off
sqt_max_cache_size:             104857600
sqt_init_read_delay:            1000
sqt_max_read_delay:             1000
sts_cachesize:          200
sqm_recover_segs:               1
smp_enable:             off
========================================================================
DSI Statistics
-----------------------------
Info             Instance_ID  Instance_Val  TransTotal  NgTransTotal  
TransSucceeded  CmdGroups  TransInCmdGroups  CmdGroupsCommit  
CommitsInCmdGroup  CmdsSucceed  GroupsClosedBytes  GroupsClosedNoneOrig  
GroupsClosedTranPartRule  PartitioningWaits  AllThreadsInUse  
AllLargeThreadsInUse ExecsCheckThrdLock  TrueCheckThrdLock  
CommitChecksExceeded  GroupsClosedTrans
---------------  -----------  ------------  ----------  ------------  
--------------  ---------  ----------------  ---------------  
-----------------  -----------  -----------------   
--------------------  -------------------------  ------------------  
---------------  -----------------  ------------------  -----------------
  --------------------  -----------------
104 rds03.tpcc    104         -1            44          875           45
44         875               45               895              0
0                  0                    0                          0
44               0                 0                   0
0                      0

Info                Instance_ID  Instance_Val  TransApplied  NgTrans  
CmdsApplied  TransMaxGroup  MemUsedMaxGroup  SysTransRead  InsertsRead  
UpdatesRead  DeletesRead  ExecsWritetext  TPS_Average  NgTPSaverage  
ErrsDeadlock  ErrsOutofLock  SendTimeAvg  DSIEBPSaverage  TransAvgGroup  
MemUsedAvgGroup  SendRPCTimeAvg  DSIEResultTimeAve  DSIEBatch  
DSIEBatchTimeAve  DSIEBatchSizeMax  DSIEBatchSizeAve  DSIEOCmdCountAve  
DSIEICmdCountAve  DSIEBFCommitNext  DSIEBFMaxCmds  DSIEBFMaxBytes  
DSIEFSMapTimeAve  DSIESCCTimeAve  DSIESCBTimeAve  DSIETranTimeMax  
DSIETranTimeAve
-----------------  -----------  ------------  ------------  -----------  
----------  -------------  ---------------  ------------  -----------  
-----------  -----------  --------------  -----------  ------------  
------------  -------------  -----------  --------------  -------------  
---------------  --------------  -----------------  -----------  
----------------  ----------------  ----------------  ----------------  
----------------  ----------------  -------------  --------------  
----------------  --------------  --------------  ---------------  
---------------
104(1) rds03.tpcc  104           1             44             875       
13790       20             211161            0             3801         
7899         333            0               0            0             
0              0              0            29              19      154941
0              5                  44          7                 8182
7077              19                20                 90                0
523              0                  0              0               74
95

Example 2 Displays the total memory in use in bytes.

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

Example 3 Displays the value of the DSIETranTimeAve counter in the DSIEXEC module:

1> admin statistics,dsiexec,DSIETranTimeAve 
2> go
 Info                        Instance_ID   Instance_Val   DSIETranTimeAve
 --------------------------  -----------    -----------   ---------------
 105(1) rds04.tpcc           105            1              0
 104(1) rds03.tpcc           104            1              95
 101(1) edsprs03.edbprs03    101            1              0

Usage

Displays statistics information, currently available or accumulated over a specified period of time. When the option flush_status is used, admin statistics displays the current flushing status of the various modules.

Permissions

Any user can execute this command.

See also

admin stats_config_connection, admin stats_config_route, admin stats_config_module.