Professional Documents
Culture Documents
(//docs.oracle.com/en/)
Sign In (http://www.oracle.com/webapps/redirect/signon?nexturl=https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007-4E7A-B1D9-2F1610A97B39.htm)
Home (/) / Oracle Enterprise Manager Cloud Control Online Documentation Library, Release 13.2 (../index.htm)
LDR_CNTRL="MAXDATA=0x80000000"@NOKRTL
AIXTHREAD_SCOPE=S
1 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl status agent -secure Lists the secure status of the Mangement Agent and
the secure mode port on which the Management
Agent is running. It also lists the OMS security status
and the port.
emctl status agent scheduler Lists all the running, ready, and scheduled collection
threads.
emctl status agent jobs Lists the status of the jobs that are running at present
on the Management Agent.
emctl status agent target <target name>, Lists the detailed status of the specified targets such
<target type>,<metric> as target name, target type, and so on. You can also
provide a particular metric name in the emctl
status agent command to get the status of a
particular metric of a target.
emctl status agent mcache <target name>, Lists the names of the metrics whose values are
<target type>,<metric> present in the metric cache.
emctl upload Uploads the .xml files that are pending to the OMS
under the upload directory.
2 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl reload (agent) This command can be used to apply the changes
after you have manually modified the
emd.properties file. For example, to change the
upload interval, emd.properties can be modified, and
emctl reload can then be run.
emctl reload agent dynamicproperties Recomputes the dynamic properties of a target and
[<Target_name>:<Target_Type>]... displays them.
emctl pingOMS [agent] Pings the OMS to check if the Management Agent is
able to connect to the OMS. Management Agent will
wait for the reverse ping from the OMS so that
Management Agent can confirm that the pingOMS is
successful.
emctl config agent getTZ Configures the current time zone as set in the
environment.
emctl config agent getSupportedTZ Displays the supported time zone based on the
setting in the environment.
emctl config console <fileloc> [<EM loc>] Configures the console based on the configuration
entries mentioned in the file <fileloc>.
emctl config agent listtargets [<EM loc>] Lists all the target names and types monitored by the
Management Agent, that are present in targets.xml
file.
3 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl control agent runCollection Allows you to manually run the collections for a
<target_name>:<target_type> <metric_name> particular metric of a target.
emctl resetTZ agent Resets the time zone of the Management Agent. To
change the current time zone to a different time zone,
stop the Management Agent and then run this
command. You can then start the Management
Agent.
Important:
4 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl dumpstate agent <component> . . . Generates the dumps for the Management Agent.
This command allows you to analyze the
memory/CPU issues of the Management Agent.
emctl clearstate Clears the state directory contents. The files that are
located in the $ORACLE_HOME/sysman/emd/state
will be deleted if this command is run. The state files
are the files which are waiting for the Management
Agent to convert them into corresponding .xml files.
emctl stop blackout <Blackoutname> Stops the blackout that was started on a particular
target. Only those blackouts that are started by the
emctl tool can be stopped using emctl. This command
cannot stop the blackouts that are started using the
console or em cli utility.
emctl status blackout [<Target_name> Provides the status of the target blackout. The status
[:<Target_Type>]].... includes the type of blackout and whether it is a one-
time action, or repeating, or a scheduled blackout.
This command also specifies whether the blackout
has started or stopped.
5 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl secure agent [registration password] Secures the Management Agent with an OMS. The
-emdWalletSrcUrl <url> -protocol <ssl|tls> registration password is essential, as you will be
prompted for it if you do not provide it along with the
command.
6 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl deploy agent [-s <install-password>] Creates and deploys only the Management Agent.
[-o <omshostname:consoleSrvPort>] [-S]
<deploy-dir> <deploy-hostname>:<port> The parameters are explained below:
<source-hostname>
[-s <password>]: Indicates the install password
for securing the Management Agent.
[-o <omshostname:consoleSrvPort>]:
Indicates the OMS host name and the console
servlet port. Choose the un-secured port.
emctl setproperty agent Configures the specified property name and value in
the Management Agent configuration file. The flag,
allow_new is an optional flag that inserts a new
property in the Management Agent configuration file,
if it does not exist.
7 de 8 30/10/2020 11:22 p. m.
EMCTL Commands for Management Agent https://docs.oracle.com/cd/E91266_01/EMADM/GUID-26443B26-4007...
emctl clear_property agent Clears the value of the specified property in the
Management Agent configuration file.
emctl status agent verify Verifies that the Management Agent is live.
(#)
8 de 8 30/10/2020 11:22 p. m.