How to get the graphic output of Extract and Replicat lag report status.
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.