Usage is easy:
dbhome SIDLive example:
[oracle@serverX ~]$ dbhome HAC /u01/HAC/hacdb/10.2.0 [oracle@serverX ~]$ dbhome HACT /u01/HACT/hactdb/10.2.0 [oracle@serverX ~]$ dbhome HLPD /u01/HLPD/hlpddb/10.2.0
The End
Even they exists, ASM (and CRS) are not real Oracle databases (regardless they usually have own Oracle home) their values are not stored in oratab so they cannot be queried with this script.[oracle@serverX ~]$ dbhome ASM /home/oracle
Cheers!