<?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 Re: script help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910680#M65215</link>
    <description>Here a nice oneliner&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# !/bin/ksh&lt;BR /&gt;[[ $(ps -ef | grep "sso_engined start" | wc -l) -eq 0 ]] &amp;amp;&amp;amp; /usr/softforum/ssoengine/bin-enine/ssostart.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
    <pubDate>Mon, 11 Dec 2006 04:58:36 GMT</pubDate>
    <dc:creator>L_Dieter</dc:creator>
    <dc:date>2006-12-11T04:58:36Z</dc:date>
    <item>
      <title>script help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910679#M65214</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a problem that specific process was killed.&lt;BR /&gt;SO, I'm going to monitor the process and restart the process.&lt;BR /&gt;&lt;BR /&gt;Can you give me tips?&lt;BR /&gt;&lt;BR /&gt;/usr/softforum/ssoengine/bin-engine/ssostart.sh&lt;BR /&gt;&lt;BR /&gt;the process is 'sso_engined start'&lt;BR /&gt;&lt;BR /&gt;and I will edit cron job every 1 hour.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Dec 2006 04:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910679#M65214</guid>
      <dc:creator>file system</dc:creator>
      <dc:date>2006-12-11T04:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910680#M65215</link>
      <description>Here a nice oneliner&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# !/bin/ksh&lt;BR /&gt;[[ $(ps -ef | grep "sso_engined start" | wc -l) -eq 0 ]] &amp;amp;&amp;amp; /usr/softforum/ssoengine/bin-enine/ssostart.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards</description>
      <pubDate>Mon, 11 Dec 2006 04:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910680#M65215</guid>
      <dc:creator>L_Dieter</dc:creator>
      <dc:date>2006-12-11T04:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: script help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910681#M65216</link>
      <description>&lt;!--!*#--&gt;Hi:&lt;BR /&gt;&lt;BR /&gt;Rather than 'grep'ing the output of the process table, pick your target process thusly:&lt;BR /&gt;&lt;BR /&gt;# [ -z "`ps -C sso_engined -o pid=`" ] &amp;amp;&amp;amp; /usr/softforum/ssoengine/bin-engine/ssostart.sh&lt;BR /&gt;&lt;BR /&gt;Thus, if there is no process matching your command (basename) then script to start it is run.  The equal sign ("=") after the 'pid' suppresses the 'ps' header.  Hence if the expression evaluates to an empty one, your script is run.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 11 Dec 2006 12:12:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-help/m-p/3910681#M65216</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-11T12:12:25Z</dc:date>
    </item>
  </channel>
</rss>

