DBCollect/Detection
Jump to navigation
Jump to search
Instance detection
This page describes how dbcollect detects (running) Oracle instances and their correct ORACLE_HOMEs.
Running instances
- If a logons file is provided (using
--logons
), dbcollect will NOT automatically detect instances, but only connect to the services listed in the logons file. - If no logons file is specified, dbcollect runs the command
ps -eo pid,user,group,args
to find all running processes on the OS. - Running instances are matched if the args match
ora_pmon_<oracle_sid>