DBCollect/Detection: Difference between revisions
Jump to navigation
Jump to search
Created page with "Category:DBCollect = Instance detection = This page describes how {{dbcollect}} detects (running) Oracle instances and their correct ORACLE_HOMEs. = Running instances =" |
No edit summary |
||
Line 6: | Line 6: | ||
= Running instances = | = Running instances = | ||
* If a logons file is provided (using <code>--logons</code>), 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 <code>ps -eo pid,user,group,args</code> to find all running processes on the OS. | |||
* Running instances are matched if the args match <code>ora_pmon_<oracle_sid></code> |
Revision as of 14:51, 31 August 2025
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>