<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Simple script in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283008#M180787</link>
    <description>&lt;BR /&gt;Can someone help !!&lt;BR /&gt;&lt;BR /&gt;I need a shell script {HP-UX) to monitor&lt;BR /&gt;my oracle PMON processes...I have three databases running so I obviously have three PMON processes running..I want a script that if one or more processes are not there it sends a error message using opcmsg (OVO)&lt;BR /&gt;&lt;BR /&gt;any ideas</description>
    <pubDate>Fri, 21 May 2004 06:21:40 GMT</pubDate>
    <dc:creator>H_16</dc:creator>
    <dc:date>2004-05-21T06:21:40Z</dc:date>
    <item>
      <title>Simple script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283008#M180787</link>
      <description>&lt;BR /&gt;Can someone help !!&lt;BR /&gt;&lt;BR /&gt;I need a shell script {HP-UX) to monitor&lt;BR /&gt;my oracle PMON processes...I have three databases running so I obviously have three PMON processes running..I want a script that if one or more processes are not there it sends a error message using opcmsg (OVO)&lt;BR /&gt;&lt;BR /&gt;any ideas</description>
      <pubDate>Fri, 21 May 2004 06:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283008#M180787</guid>
      <dc:creator>H_16</dc:creator>
      <dc:date>2004-05-21T06:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Simple script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283009#M180788</link>
      <description>The simple way would be&lt;BR /&gt; &lt;BR /&gt;[[ `ps -ef | grep -v grep | grep ora_pmon | wc -l` -eq 3 ]] || /opt/OV/bin/OpC/opcmsg application=Monitor object=OS msg_text="at least on pmon is missing" msg_grp=&lt;MESSAGE group=""&gt; severity=critical node=&lt;HOST name=""&gt;&lt;BR /&gt; &lt;BR /&gt;However, this might occassionally alert when there is no problem at all as other processes might make grep see ora_pmon. You could adapt it to be cleverer though.&lt;/HOST&gt;&lt;/MESSAGE&gt;</description>
      <pubDate>Fri, 21 May 2004 06:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283009#M180788</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-21T06:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Simple script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283010#M180789</link>
      <description>&lt;BR /&gt;Thanks for the quick response..</description>
      <pubDate>Fri, 21 May 2004 06:43:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283010#M180789</guid>
      <dc:creator>H_16</dc:creator>
      <dc:date>2004-05-21T06:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Simple script</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283011#M180790</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;It might be valuable to which instance is down - for instance if you want the monitoring team to re-start it - then you might want to loop on your oratab file.&lt;BR /&gt;&lt;BR /&gt;My 0,02 cents&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
      <pubDate>Fri, 21 May 2004 07:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/simple-script/m-p/3283011#M180790</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-05-21T07:26:14Z</dc:date>
    </item>
  </channel>
</rss>

