Database Tuning (MOSC)

MOSC Banner

OSWatcher analysis - able to run non-interactively?

I'm running OSW "gather" v8.4 and "analyze" v9.0.13, on RHEL 64 8.8

I'm trying to create weekly analysis reports for all our servers. The basic logic is:

PATH="$ORACLE_HOME/jdk/jre/bin:$PATH" ;
for HOST in PO3 PO4 PO5 PO6 PO7 PO1 PO2; do
cd /ora1/utils/${HOST}/oswbb/;
time java -jar oswbba9013.jar -i /oraglobal/orautils/${HOST}/oswbb/archive -NO_PIDSTAT -b Jul 08 12:00:00 2024 -e Jul 15 11:00:00 2024 -A -D ;
done

I would like to schedule this to occur automatically: at least a weekly run, possibly a daily run.

The issue is it needs an X environment to run in. That's usually obtained by creating an X session, ie, on a Windows PC, via Xming, MobaXterm, Cygwin, etc. This requires an interactive login. [For the record, once I do this, and run the commands above. I do properly get output.]

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