GoldenGate, Streams and Distributed Database (MOSC)

MOSC Banner

How to get the graphic output of Extract and Replicat lag report status.

edited Mar 12, 2013 5:31AM in GoldenGate, Streams and Distributed Database (MOSC) 1 commentAnswered
Hi,

    How to get the graphic output of Extract and  Replicat lag report status.

I try below two scripts but it's not work

Any one can?

getDATA.sh

#!/bin/sh

# This script runs the ggsci utility and saves data about running processes to a file

# 01-JAN-2013 Created

# 13-MAR-2013 Tidied up for release 0.9

if [ -f ~/.bashrc ]; then

. ~/.bashrcfi

# Variables

TODAY=$(date +%Y-%m-%d)

CURTIME=$(date +%H:%M)

# Run GGSCI and get screen output

$GGSDIR/ggsci > test.txt <<EOF

INFO ALL

EXIT

EOF

# Get relevant lines from output

# The sed expression extracts the output from the raw screen scrape.

# The awk expression formats the output and converts the times into minutes.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center