Sunday, September 28, 2008

Useful opmnctl commands

opmnctl provides a centralized way to control and monitor Oracle Application Server components from the command line. The list of useful commands are as follows,

a) Verbose
Syntax: opmnctl verbose command
The opmnctl verbose option enables you to obtain detailed information about the command you are executing.
For example, $ opmnctl verbose startproc ias-component=HTTP_Server

b) The following command restarts OC4J at the level:
$ opmnctl restartproc ias-component=OC4J process-type=home

c) The following command stops Oracle HTTP Server at the level:
$ opmnctl stopproc ias-component=HTTP_Server

d) Enter the following command to obtain additional information:
$ opmnctl usage startproc

e) You can start or stop your J2EE based application using the application attribute
$ opmnctl startproc application=mailserver

f) To obtain the uniqueid (uid) value and other specific process parameter information,use 
$ opmnctl status –l

g) To display the request connect string used to connect to the OPMN daemon, use 
$ opmnctl status –port

h) The opmnctl status -app command displays information for applications (module-ids)
that are managed by OPMN.
$ opmnctl status –app

No comments:

Post a Comment