Дизайн спальни 20 кв.м


emctl start | stop agent

Starts or stops agent.

emctl status agent

Lists the status of agent.

emctl status agent -secure

Lists the secure status of the agent and the port on which the agent is running in secure mode and also the OMS security status of the agent it points to. This command also gives the OMS secure port. Below is an example output:

bash-3.00$ emctl status agent -secure Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. Checking the security status of the Agent at location set in /ade/example_username_cpap4_ag/oracle/sysman/config/emd.properties... Done. Agent is secure at HTTPS Port 1838. Checking the security status of the OMS at http://example.us.oracle.com:7654/em/upload/... Done. OMS is secure on HTTPS Port 4473 bash-3.00$

emctl status agent scheduler

Lists all Running, Ready, and Scheduled Collection threads.

emctl status agent jobs

Lists the status of the jobs that are дизайн спальни 20 кв.м running at present on the agent. The following is an example output:

bash-3.00$ emctl status agent jobs Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. ------------------------------------------------- step id typ pid stat command line ------- --- --- ---- ------------ ------------------------------------------------- Agent is Running and Ready

emctl status agent target <target name>,<target type>,<metric>

Lists the detailed status of the specified targets in the order of target name, target type. The following is an example of an oracle_database target. You can also provide a particular metric name in the emctl command to get the status of a particular metric of a target.

bash-3.00$ emctl status agent target database,oracle_database Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. ------------------------------------------------- Target Name : database Target Type : oracle_database Current severity state ---------------------- Metric Column name Key State Timestamp ------------------------------------------------- DeferredTrans errortrans_count n/a CLEAR 2011-07-09 02:38:07 DeferredTrans deftrans_count n/a CLEAR 2011-07-09 02:38:07 ha_recovery missing_media_files n/a CLEAR 2011-07-09 02:28:57 ha_recovery corrupt_data_blocks n/a CLEAR 2011-07-09 02:28:57 ha_recovery datafiles_need_recovery n/a CLEAR 2011-07-09 02:28:57 Response Status n/a CLEAR 2011-07-09 02:38:04 Response userLogon n/a CLEAR 2011-07-09 02:38:04 Response State n/a CLEAR 2011-07-09 02:38:04 OCMInstrumentation NeedToInstrument n/a CLEAR 2011-07-09 02:31:55 health_check Status n/a CLEAR 2011-07-09 02:40:00 health_check Unmounted n/a CLEAR 2011-07-09 02:40:00 health_check Mounted n/a CLEAR 2011-07-09 02:40:00 health_check Unavailable n/a CLEAR 2011-07-09 02:40:00 health_check Maintenance n/a CLEAR 2011-07-09 02:40:00 sql_response time n/a CLEAR 2011-07-09 02:38:50 sga_pool_wastage java_free_pct n/a CLEAR 2011-07-09 02:28: 58 UserAudit username DBSNMP_example CLEAR 2011-07-09 02:32:48 ------------------------------------------------------- Agent is Running and Ready

emctl status agent mcache <target name>,<target type>,<metric>

Lists the names of the metrics for which the values are present in the metric cache. See the following example for a simple host target:

bash-3.00$ emctl status agent mcache example.us.oracle.com,host Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. ------------------------------------------------------- Metric cache contains value for following metrics at 2011-07-09 02:54:47 CPUUsage DiskActivity FileMonitoring LPAR Performance on AIX Load Network PagingActivity ------------------------------------------------------- Agent is Running and Ready

The metrics listed above are the ones whose values are present in the metric cache.

emctl reload agent dynamicproperties [<Target_name>:<Target_Type>]...

Recomputes the dynamic properties of a target and generates the dynamic properties for the target.Sample output for oracle_database is as follows:

bash-3.00$ emctl reload agent dynamicproperties database:oracle_database Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. ------------------------------------------------------- EMD recompute dynprops completed successfully

emctl pingOMS [agent]

Pings the OMS to check if the agent is able to connect to the OMS. Agent will wait for the reverse ping from the OMS so that agent can say the pingOMS is successful.

emctl config agent getTZ

Gets the current timezone set in the environment.

emctl config agent getSupportedTZ

Prints the supported timezone based on the setting in the environment.

emctl config console <fileloc> [<EM loc>]

Allows you to configure the console based on the configuration entries that you have mentioned in the file <fileloc>.

<EM loc> is optional and can be used to operate on a different Oracle Home.

emctl config [agent] listtargets [<EM loc>]

Lists all targets present in targets.xml.

<EM loc> is optional and can be used to operate on a different Oracle Home.

emctl control agent runCollection <target_name>:<target_type> <metric_name>

Allows to manually run the collections for a particular metric of a target. Sample output is as follows:

emctl control agent runCollection example.us.oracle.com:host CPUUsage Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. ------------------------------------------------------- EMD runCollection completed successfully

emctl getcurdir agent

Prints the current working directory you are in (pwd).

emctl resetTZ agent

Resets the timezone of the agent. Stop the agent first and then run this command to change the current timezone to a different timezone. Then start the agent.

emctl getversion agent

Prints the version of the agent. Sample output is as follows:

./emctl getversion agent Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. Oracle Enterprise Manager 12c Release 1 Cloud Control Agent 12.1.0.1.0

emctl dumpstate agent <component>...

Generates the dumps for the agent. This command allow you to analyze the memory/cpu issues of the agent. Sample output is as follows:

./emctl dumpstate agent Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. Dumpstate succeeded

emctl gensudoprops

Generates the sudo properties of the agent.

emctl clearsudoprops

Clears the sudo properties.

emctl clearstate

Clears the state directory contents. The files that are located under $ORACLE_HOME/sysman/emd/state will be deleted if this command is run. The state files are the files which are ready for the agent to convert them into corresponding xml files.

emctl getemhome

Prints the agent home directory. The sample output is as follows:

bash-3.00$ emctl getemhome Oracle Enterprise Manager 12c Release 1 Cloud Control 12.1.0.1.0. Copyright (c) 1996, 2011 Oracle Corporation. All rights reserved. EMHOME=/scratch/aime/gcagent/ngagent/agent_inst

emctl start blackout <Blackoutname> [-nodeLevel] [<Target_name>[:<Target_Type>]].... [-d <Duration>]

Starts blackout on a target.

<Target_name:Target_type> defaults to local node target if not specified.If -nodeLevel is specified after <Blackoutname>,the blackout will be applied to all targets and any target list that follows will be ignored.Duration is specified in [days] hh:mm

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 emcli.

emctl status blackout [<Target_name>[:<Target_Type>]]....

Provides the status of the blackout of the target. The status includes the type of blackout, whether one time, repeating, or a scheduled blackout. This command also specifies whether the blackout has started or stopped.

emctl secure agent [registration password]

Secures the agent against an OMS. The registration password must be provided.

emctl unsecure agent

Unsecures the agent. This will make the agent unsecure and the agent's port will be changed to http port.

emctl verifykey

Verifies the communication between the OMS and agent by sending pingOMS.

emctl deploy agent [-s <install-password>] [-o <omshostname:consoleSrvPort>] [-S] <deploy-dir> <deploy-hostname>:<port> <source-hostname>

'agent' creates and deploys only the agent.

[-s <password>]: Install password for securing agent.

[-S ]: Password will be provided in STDIN.

[-o <omshostname:consoleSrvPort>]: The OMS Hostname and console servlet port. Choose the unsecured port.

<deploy-dir> : Directory to create the shared (state-only) installation port.

<deploy-hostname:port> : Host name and port of the shared (state-only) installation. Choose unused port.

<source-hostname>: The host name of the source install. Typically the machine where EM is installed. This is searched and replaced in targets.xml by the host name provided in argument <deploy-hostname:port>.

<sid>: The instance of the remote database. Only specified when deploying "dbconsole".


Источник: http://docs.oracle.com/cd/E25054_01/doc.1111/e24473/emctl.htm


Рекомендуем посмотреть ещё:


Закрыть ... [X]

Zzz Цитаты на русском картинки Pinterest Motivation Сильная рассорка на соперницу самостоятельно


Дизайн спальни 20 кв.м

Маникюр со стразами: фото френч дизайна



Дизайн спальни 20 кв.м

Женский онлайн журнал полезных советов на каждый день



Дизайн спальни 20 кв.м

Электротехника: Реле времени своими руками 2 (на 555)



Дизайн спальни 20 кв.м

Как правильно подключить выключатель Для дома, для семьи



Дизайн спальни 20 кв.м

Магазины женской одежды Dress Code



Дизайн спальни 20 кв.м

Double Agent Criteria - Marathon Maniacs



Дизайн спальни 20 кв.м

Лабрадор ретривер : описание породы, уход и содержание, кормление



Дизайн спальни 20 кв.м

Шацкая - Библия стервы. Читать онлайн



Дизайн спальни 20 кв.м

Франшиза ART-printers: стоимость и условия. Купить франшизу



Дизайн спальни 20 кв.м

Что сделать из перца на зиму: золотые рецепты салатов и






Похожие новости




.