I am trying to read the all interim patches from oracle server using Opatch and then capture only the parent patch numbers fro command output and display in oracle ci attribute discovered in UCMDB(universal configuration management database)
The opatch command i am using is :
su oracle -c '/ora01/app/oracle/product/11.2.0/dbhome_1/OPatch/opatch lsinventory'.
I need the python/jython code to read the patch numbers from command output.
Appreciate your help!