Extracts Replication Server statistics collected in the RSSD by admin stats to a comma-delimited format.
rs_dump_stats ‘Stats from 01/31/2006’
Comment: Stats from 01/31/2006 == Provided label Oct 17 2005 3:13:47:716PM == End of the first observation period Oct 17 2005 3:14:24:730PM == End of the last observation period 2 == Number of observation periods 0 == Number of minutes in each obs period. 0 if less than one.(Calculated as the number of minutes between the first and last obs period, divided by the number of observations.) 16384 == Number of bytes in an SQM Block to aid calculations 64 == Number of blocks in an SQM Segment to aid calculations CM == Module Name. See rs_help_counter for a complete list. 13 == Instance ID. See admin stats for an explanation. -1 == Inst Val/Mod Type. Further instance qualification when needed. dCM == Instance description. CM: Outbound database connection requests == Counter description. CMOBDBReq == Counter display name. 13003 , , 13, -1 == Counter ID and instance qualifying information. Oct 17 2005 3:13:47:716PM, 52, 52, 1, 1 == Counter data. One row output for each observation period. See below for explanation. Oct 17 2005 3:14:24:730PM, 42, 42, 1, 1 ENDOFDATA == End of output for the previous counter CM: Outbound non-database connection requests == Start of output for the next counter CMOBNonDBReq 13004 , , 13, -1 Oct 17 2005 3:13:47:716PM, 2, 2, 1, 1 Oct 17 2005 3:14:24:730PM, 2, 2, 1, 1 ENDOFDATA . . . CM: Time spent closing an ob fadeout conn CMOBConnFadeOutClose 13019 , , 13, -1 Oct 17 2005 3:13:47:716PM, 0, 0, 0, 0 Oct 17 2005 3:14:24:730PM, 2, 6, 2, 4 ENDOFDATA DIST == Start of output for the next module/instance 102 -1 DIST, 102 pds03.tpcc DIST: Commands read from inbound queue CmdsRead 30000 , , 102, -1 Oct 17 2005 3:13:47:716PM, 1, 1, 1, 1 Oct 17 2005 3:14:24:730PM, 1, 1, 1, 1 ENDOFDATA . . . DSIEXEC: Number of 'message' results DSIEResMsg 57127 , , 103, 7 Oct 17 2005 3:13:47:716PM, 1, 1, 1, 1 Oct 17 2005 3:14:24:730PM, 1, 1, 1, 1 ENDOFDATA (return status = 0) == End of output
You can capture the output of rs_dump_stats in a text file that can then be analyzed in a spread sheet or other analysis tool.
Depending on the analysis tool, it is usually unnecessary to include all instances of one module in the same file.
rs_dump_stats does not remove or alter statistics saved in the RSSD.
rs_dump_stats lists counters with no observations, but does not display counter data rows for them. rs_dump_stats displays counter data rows for all counters with at least one observation during the sample period.