which_databases_are_running_on_the_machine
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| which_databases_are_running_on_the_machine [2018/12/08 12:49] – created 0.0.0.0 | which_databases_are_running_on_the_machine [2019/01/30 11:32] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Which_databases_are_running_on_the_machine ====== | + | ===== From Unix ===== |
| - | + | ||
| - | ======From Unix====== | + | |
| The ' | The ' | ||
| - | < | + | < |
| + | ps -ef|grep [[o]]ra_pmon|sed -e ' | ||
| + | </ | ||
| - | ======From Windows====== | + | ===== From Windows ===== |
| This shows the service name and its state | This shows the service name and its state | ||
| - | < | + | < |
| - | < | + | sc query | perl -00 -ne 'print "$1 $2\ |
| + | " | ||
| + | </ | ||
| + | < | ||
| + | DEV running | ||
| + | </ | ||
| To see the value of ORACLE_HOME on Windows, use another sc query: | To see the value of ORACLE_HOME on Windows, use another sc query: | ||
| - | < | + | < |
| + | sc qc OracleServiceDEV | ||
| + | </ | ||
| The ORACLE_HOME and the instance name can be found on the ' | The ORACLE_HOME and the instance name can be found on the ' | ||
| - | < | + | < |
| + | SERVICE_NAME: | ||
| + | DISPLAY_NAME: | ||
| + | TYPE : 10 WIN32_OWN_PROCESS | ||
| + | START_TYPE | ||
| + | ERROR_CONTROL | ||
| + | BINARY_PATH_NAME | ||
| + | LOAD_ORDER_GROUP | ||
| + | TAG : 0 | ||
| + | DISPLAY_NAME | ||
| + | DEPENDENCIES | ||
| + | SERVICE_START_NAME : LocalSystem | ||
| + | </ | ||
which_databases_are_running_on_the_machine.1544273361.txt.gz · Last modified: 2018/12/08 12:49 by 0.0.0.0
