AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

Background oracle processes on AIX

  • 1.  Background oracle processes on AIX

    Posted Mon September 01, 2014 10:09 AM

    Originally posted by: roberto


    I have an AIX 6.1 box hosting some Oracle instances. When I run "ps -ef" I find the oracle processes associated to the different instances.
     
    As an example: 
     
    ps -ef | grep ora
      oracle 14535     1   0   Aug 12 ?           0:00 ora_reco_cmdb
      oracle 14545     1   0   Aug 12 ?           0:00 ora_s000_cmdb
     
    These background processes should be spawned off when Oracle starts up and so they all should come out of $ORACLE_HOME/bin/oracle
     
    Is there any command whose output allows to associate the pid to the binary $ORACLE_HOME/bin/oracle ?

    #AIX-Forum


  • 2.  Re: Background oracle processes on AIX

    Posted Fri September 05, 2014 04:45 PM

    Originally posted by: GarlandJoseph


    Not sure I understand the question here.    Are you expecting to see the path name in the far right column (CMD).  The particular instances seem to started from the /etc/inittab.  It is not clear where the actual binary is for those instances.  Try running proctree <pid>.


    #AIX-Forum


  • 3.  Re: Background oracle processes on AIX

    Posted Wed September 10, 2014 09:30 AM

    Originally posted by: vbalaji11


    Hi Roberto,

     

    I assume that you want track the process id of $ORACLE_HOME/bin/oracle.  It should have been shown for "ps -fe | grep oracle" if it were present.

    ps -fe -o " %U - %c - %p "
     

    this might be quite simple for your purpose.


    #AIX-Forum


  • 4.  Re: Background oracle processes on AIX

    Posted Fri September 12, 2014 05:09 AM

    Originally posted by: vbalaji11


    Hi again,

    The command

    fuser /bin/oracle ; fuser <path>

    should be listing the pid associated with the process as you asked .. Like to hear from if it was what you asked ..


    #AIX-Forum