How To See All Process Realted To Clusterware

This basic shell script show you all Oracle processes related to the Oracle clusterware;

 
prodBank_euro@:> #
prodBank_euro@:> # Works on Solaris 11
prodBank_euro@:> #
prodBank_euro@:>
prodBank_euro@:> ps -ef | grep -v grep | egrep 'lmon|lms|lck|lmd|diag|acms|gtx|lmhb|ping|rms|rsm'
   grid12  2330     1   0   Mar 14 ?        2048:51 asm_lmhb_+ASM1
   grid12  2318     1   0   Mar 14 ?          57:21 asm_ping_+ASM1
   grid12  2316     1   0   Mar 14 ?         221:02 asm_diag_+ASM1
   grid12  2322     1   0   Mar 14 ?         656:41 asm_lmon_+ASM1
   grid12  2324     1   0   Mar 14 ?         615:50 asm_lmd0_+ASM1
   grid12  2326     1   0   Mar 14 ?         885:40 asm_lms0_+ASM1
   grid12  2332     1   0   Mar 14 ?          10:38 asm_lck1_+ASM1
   grid12  2356     1   0   Mar 14 ?          55:34 asm_lck0_+ASM1
   grid12  2407     1   0   Mar 14 ?          12:57 apx_diag_+APX1
  oradb12 23109     1   0   Aug 23 ?          38:28 ora_lms1_dante1
  oradb12 23093     1   0   Aug 23 ?           3:08 ora_ping_dante1
  oradb12 23164     1   0   Aug 23 ?           7:44 ora_lck0_dante1
  oradb12 23099     1   0   Aug 23 ?          29:57 ora_lmon_dante1
  oradb12 23103     1   0   Aug 23 ?          14:05 ora_lmd1_dante1
  oradb12 23170     1   0   Aug 23 ?           0:56 ora_rsmn_dante1
  oradb12 23115     1   0   Aug 23 ?         116:56 ora_lmhb_dante1
  oradb12 23113     1   0   Aug 23 ?           0:21 ora_rms0_dante1
  oradb12 23087     1   0   Aug 23 ?          15:24 ora_diag_dante1
  oradb12 23105     1   0   Aug 23 ?          37:06 ora_lms0_dante1
  oradb12 23101     1   0   Aug 23 ?          20:23 ora_lmd0_dante1
  oradb12 23231     1   0   Aug 23 ?           0:19 ora_gtx0_dante1
  oradb12 23095     1   0   Aug 23 ?           0:19 ora_acms_dante1
  oradb12 23117     1   0   Aug 23 ?           2:38 ora_lck1_dante1

HTH – Antonio NAVARRO

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s