Friday, 25 September 2020

oem command

OEM command in oracle 

+++++++++++++++++

Go to oem path from the oem user or oracle user

bin ]./emctl status agent

bin ]./emctl start agent

ps -ef |grep emagent // to check the status of running agent


Agent on oms server

emctl start | getversion oms    Oracle Management Server


you need to go the oms path on server

To start the oms

./emctl start oms

./emctl start oms -all


To stop the oms

./emctl stop oms [-all] [-force

./emctl stop oms

./emctl stop oms -all

./emctl stop oms -all -force


To check the status


emctl status oms

emctl status oms -detail


No comments:

Post a Comment

Featured post

duplicate db from standy to other server

 Duplicate Testuat   $ export ORACLE_SID=Testuat3 $ sqlplus '/as sysdba' Testuat3 SQL> alter system set cluster_database=FALSE sc...