首页 > 代码库 > 查看ogg目的端的server进程

查看ogg目的端的server进程

[oracle@hosta ggs]$ ps -ef | grep server
root      2945     1  0 22:12 ?        00:00:00 /usr/bin/hidd --server
root      3342     1  0 22:12 ?        00:00:00 /usr/libexec/gam_server
oracle   15624  3382  0 23:24 pts/1    00:00:00 grep server
[oracle@hosta ggs]$
[oracle@hosta ggs]$
[oracle@hosta ggs]$
[oracle@hosta ggs]$ ggsci

Oracle GoldenGate Command Interpreter for Oracle
Version 11.2.1.0.27 19591627 OGGCORE_11.2.1.0.0OGGBP_PLATFORMS_141006.1156_FBO
Linux, x64, 64bit (optimized), Oracle 11g on Oct  6 2014 16:45:49

Copyright (C) 1995, 2014, Oracle and/or its affiliates. All rights reserved.



GGSCI (hosta) 1> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     STOPPED                                           
REPLICAT    ABENDED     REPFULL     00:00:00      448:53:00   


GGSCI (hosta) 2> start mgr

Manager started.


GGSCI (hosta) 3> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           
REPLICAT    ABENDED     REPFULL     00:00:00      448:53:04   


GGSCI (hosta) 4> info all

Program     Status      Group       Lag at Chkpt  Time Since Chkpt

MANAGER     RUNNING                                           
REPLICAT    ABENDED     REPFULL     00:00:00      448:53:11   


GGSCI (hosta) 5> exit
[oracle@hosta ggs]$ ps -ef | grep server
root      2945     1  0 22:12 ?        00:00:00 /usr/bin/hidd --server
root      3342     1  0 22:12 ?        00:00:00 /usr/libexec/gam_server
oracle   16821 16543  2 23:24 ?        00:00:00 ./server -w 300 -p 7819-12818 -m 7809 -k -l /u02/ggs/ggserr.log----->注意此行!
oracle   17614  3382  0 23:24 pts/1    00:00:00 grep server
[oracle@hosta ggs]$ 


结论:该进程是在目的端的mgr启动的时候被启动的。该进程的作用是接收源头dp进程传输过来的trail文件,写入目的端操作系统的文件系统的指定位置下。



查看ogg目的端的server进程