Technology Stack - EBS (MOSC)

MOSC Banner

Script to monitor managed servers

edited Apr 18, 2019 11:07AM in Technology Stack - EBS (MOSC) 10 commentsAnswered

I am trying to figure out how to write a script to monitor the Weblogic managed server. I started out by trying this command at the command prompt:

./admanagedsrvctl.sh status oacore_server1 < $ADMIN_SCRIPTS_HOME/weblogicpwd.txt

It returns the status but it also returns "stty: standard input: Inappropriate ioctl for device". How can I get rid of this error message and minimize the result? All I am really looking for is "oacore_server1 is running."

./admanagedsrvctl.sh status oacore_server1 < $ADMIN_SCRIPTS_HOME/weblogicpwd.txt

You are running admanagedsrvctl.sh version 120.14.12020000.11

stty: standard input: Inappropriate ioctl for device

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