Login to db host :
[hostname ~]$ ps -ef|grep -i pmon
oracle 21681 1 0 Jun13 ? 00:00:30 ora_pmon_SID
ORACLE_SID is SID
$ ls -lrt /proc/21681/cwd
lr-x------ 2 oracle dba 0 Jun 13 19:31 cwd -> /u01/opt/app/product/10.2.0.4/db_1/dbs/
ORACLE_HOME is /u01/opt/app/product/10.2.0.4/db_1
[hostname ~]$ ps -ef|grep -i pmon
oracle 21681 1 0 Jun13 ? 00:00:30 ora_pmon_SID
ORACLE_SID is SID
$ ls -lrt /proc/21681/cwd
lr-x------ 2 oracle dba 0 Jun 13 19:31 cwd -> /u01/opt/app/product/10.2.0.4/db_1/dbs/
ORACLE_HOME is /u01/opt/app/product/10.2.0.4/db_1
No comments:
Post a Comment