12. admin stats 查看复制服务器的操作统计信息 语法: Syntax admin { stats | statistics } [, sysmon | "all" | module_name [, inbound | outbound ] [, display_name ] ] [, server[, database ] [instance_id ] [, display |, save[, obs_interval ] ] [, sample_period ]13. admin stats,{md|mem|mem_in_use} 报告内存信息 1> admin stats,md 报告消息传递时候关联DIST和RSI用户 2> go Source Pending_Messages Memory_Currently_Used Messages_Delivered SQM_Writes Destinations_Delivered_To Max_Memory_Hit Is_RSI_Source? ------------------------------ ---------------- --------------------- ------------------ ----------- ------------------------- -------------- -------------- AFC_DS_EGH 0 0 7329 7329 0 0 0 AFC_DS_HUH 0 0 11026 11026 0 0 0 AFC_DS_SHA 0 0 12451 12451 0 0 0 AFC_DS_NJH 0 0 6 6 0 0 0 AFC_DS_NBH 0 0 5172 5172 0 0 0 AFC_DS_QYH 0 0 8565 8565 0 0 0 AFC_DS_KNH 0 0 0 0 0 0 0 AFC_DS_IMH 0 0 11238 11238 0 0 0 AFC_DS_XNH 0 0 3 3 0 0 0 AFC_DS_EPH 0 0 170439 170439 0 0 0 AFC_DS_TCH 0 0 18396 18396 0 0 0 AFC_DS_HZH 0 0 1384506 1384506 0 0 0 AFC_DS_DTH 0 0 4177 4177 0 0 0 AFC_DS_SXH 0 0 7488 7488 0 0 0 AFC_DS_HMH 0 0 0 0 0 0 0 AFC_DS_ZJH 0 0 702 702 0 0 0 AFC_DS_HWH 0 0 0 0 0 0 0 AFC_DS_WXH 0 0 1201286 1201286 0 0 0 AFC_DS_BHH 0 0 4950 4950 0 0 0 AFC_DS_SHH 0 0 1805275 1805275 0 0 0 AFC_DS_CZH 0 0 3 3 0 0 0 AFC_DS_EAH 0 0 14901 14901 0 0 0 AFC_DS_EUH 0 0 10191 10191 0 0 0 AFC_DS_YHH 0 0 0 0 0 0 0 AFC_DS_SZH 3 623 2333481 2333481 0 0 0 AFC_DS_ATH 0 0 5541 5541 0 0 0 AFC_DS_DYH 3 622 174826 174826 0 0 0 AFC_DS_SYH 0 0 32382 32382 0 0 0 AFC_DS_WNH 0 0 18070 18070 0 0 0 AFC_CENTER_DS 0 0 4202457 86457932 0 0 0 AFC_DS_EVH 3 621 16719 16719 0 0 0 1> 1> admin stats,mem 报告当前内存中段的大小和数量 2> go Segment_Size Number_of_Segments ------------ ------------------ 256 28758 512 49493 1024 36687 2048 15808 4096 215 8192 169 16384 3207 65536 302 报告当前内存使用字节数 1> admin stats,mem_in_use 2> go Memory_in_Use ------------- 330248336 1> 报告复制服务器每秒的产生的事物量 1> admin stats,tps 2> go 报告复制服务器每秒的执行的命令量 1> admin stats,cps 2> go 报告复制服务器每秒的产生的字节数 1> admin stats,bps 2> go 报告复制服务器当前的时间 1> admin time 2> go Time -------------------------- Oct 15 2011 11:09AM 报告复制服务器当前版本信息 1> admin version 2> go Version ----------------------------------------------------------------------------------------------- Replication Server/15.2/P/Linux Intel/Linux 2.6.9-42.ELsmp i686/1/OPT/Thu Feb 5 16:57:32 2009 1> 报告当前复制服务器所有的进程数 admin who 语法如下: admin who [, {dist | dsi | rsi | sqm | sqt}] 查看DIST进程: admin who ,dist 查看DSI进程 admin who ,dsi admin who_is_down 查看复制服务器down的服务进程 admin who_is_up 查看复制服务器运行的进程。
?