<?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: monitor a launched process and get it exit status in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000817#M98164</link>
    <description>Hi,&lt;BR /&gt;the way I see it you have two options:&lt;BR /&gt;1. use wait &lt;PROCESSID&gt; See &lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1046051" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1046051&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. change your code to move your $PROCESS into another script and then call the script with &amp;amp;&lt;BR /&gt;e.g.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;a.sh &amp;amp;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;where a.sh is:&lt;BR /&gt;$PROCESS &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;echo $!&lt;BR /&gt;&lt;BR /&gt;Also: your profiles shows 1 point allocation for 9 answers !&lt;/PROCESSID&gt;</description>
    <pubDate>Fri, 01 Sep 2006 06:12:47 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-09-01T06:12:47Z</dc:date>
    <item>
      <title>monitor a launched process and get it exit status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000816#M98163</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;i'd want to monitor a process but i don't know how.&lt;BR /&gt;i have thought to that:&lt;BR /&gt;&lt;BR /&gt;$PROCESS &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp; ; echo $$&amp;gt;/tmp.$PROCESS.pid&lt;BR /&gt;&lt;BR /&gt;but in this case, i have not the exit status of $PROCESS.&lt;BR /&gt;&lt;BR /&gt;someone can help me ?&lt;BR /&gt;&lt;BR /&gt;thanks in advance.</description>
      <pubDate>Fri, 01 Sep 2006 05:59:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000816#M98163</guid>
      <dc:creator>totoperdu</dc:creator>
      <dc:date>2006-09-01T05:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: monitor a launched process and get it exit status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000817#M98164</link>
      <description>Hi,&lt;BR /&gt;the way I see it you have two options:&lt;BR /&gt;1. use wait &lt;PROCESSID&gt; See &lt;A href="http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1046051" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1046051&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;2. change your code to move your $PROCESS into another script and then call the script with &amp;amp;&lt;BR /&gt;e.g.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;a.sh &amp;amp;&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;where a.sh is:&lt;BR /&gt;$PROCESS &amp;gt; /dev/null 2&amp;gt;&amp;amp;1&lt;BR /&gt;echo $!&lt;BR /&gt;&lt;BR /&gt;Also: your profiles shows 1 point allocation for 9 answers !&lt;/PROCESSID&gt;</description>
      <pubDate>Fri, 01 Sep 2006 06:12:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000817#M98164</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-09-01T06:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: monitor a launched process and get it exit status</title>
      <link>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000818#M98165</link>
      <description>many thanks Peter Godron,&lt;BR /&gt;&lt;BR /&gt;you have gived me the good answers.&lt;BR /&gt;&lt;BR /&gt;PS: i have corrected the missed allocation points ;)&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Fri, 01 Sep 2006 06:51:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/monitor-a-launched-process-and-get-it-exit-status/m-p/5000818#M98165</guid>
      <dc:creator>totoperdu</dc:creator>
      <dc:date>2006-09-01T06:51:04Z</dc:date>
    </item>
  </channel>
</rss>

