status
Shows whether EM CLI is configured or not, and shows the EM CLI setup details. It also displays the Java home, version, EM CLI home, and all of the EM CLI configuration detials if it is configured.
Standard Mode
emcli status
Interactive or Script Mode
status()
Options
None.
Output
This example shows output when EM CLI setup has not been done:
Oracle Enterprise Manager 24ai Release 42.1.0.0.0. Copyright (c) 1996, 2024 Oracle Corporation and/or its affiliates. All rights reserved. Instance Home : /home/sumadas Status : Not Configured
This example shows output after EM CLI setup has been done:
Oracle Enterprise Manager 24ai Release 24.1.0.0.0. Copyright (c) 1996, 2024 Oracle Corporation and/or its affiliates. All rights reserved. Instance Home : /ade/sumadas_emcli/oracle/work/.emcli Status : Configured EMCLI Home : /ade/sumadas_emcli/emcore/emcli/bin EMCLI Version : 12.1.0.0.0 Java Home : /ade_autofs/nfsdo_base/EMGC/MAIN/LINUX/110811/jdk6/jre Java Version : 1.6.0_24 Log file : /ade/sumadas_emcli/oracle/work/.emcli/.emcli.log EM URL : https://dadvma0121.example.com:14487/em EM user : SYSMAN Auto login : true Trust all certificates : true
This example shows output in interactive shell mode:
emcli>status() Oracle Enterprise Manager 24ai EM CLI with Scripting option Version 24.1.0.0.0. Copyright (c) 1996, 2024 Oracle Corporation and/or its affiliates. All rights reserved. Verb Jars Home (EMCLI_VERBJAR_DIR) : <EMCLI_LOCATION>/int/./bindings/24.1.0.0.0/.emcli EM CLI Home (EMCLI_INSTALL_HOME) : <EMCLI_LOCATION>/int/. EM CLI Version : 24.1.0.0.0 Java Home : /jdk6/jre Java Version : 1.6.0_43 Log file (EMCLI_LOG_LOC) : CONSOLE Log level (EMCLI_LOG_LEVEL) : SEVERE EM URL (EMCLI_OMS_URL) : https://<hostname>:<port>/em EM user (EMCLI_USERNAME) : sysman Auto login (EMCLI_AUTOLOGIN) : false Trust all certificates (EMCLI_TRUSTALL) : true