<?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: background job in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902246#M839320</link>
    <description>Thank you for reply~&lt;BR /&gt;&lt;BR /&gt;now I using #at now command but is it wrong?&lt;BR /&gt;&lt;BR /&gt;#nohup sar -d 180 400 &amp;gt; sar.log &amp;amp;&lt;BR /&gt;&lt;BR /&gt;then I tried to exit terminal session.&lt;BR /&gt;&lt;BR /&gt;you know this message showed.&lt;BR /&gt;&lt;BR /&gt;#there is running jobs&lt;BR /&gt;&lt;BR /&gt;after that I exit session.&lt;BR /&gt;&lt;BR /&gt;#ps -ef|grep sar -&amp;gt; no process &lt;BR /&gt;&lt;BR /&gt;do I have to set something ?? &lt;BR /&gt;</description>
    <pubDate>Mon, 16 May 2005 19:58:06 GMT</pubDate>
    <dc:creator>moon_5</dc:creator>
    <dc:date>2005-05-16T19:58:06Z</dc:date>
    <item>
      <title>background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902243#M839317</link>
      <description>Hi all~&lt;BR /&gt;&lt;BR /&gt;I tried to run background job on 11.11&lt;BR /&gt;&lt;BR /&gt;but when I close terminal session, &lt;BR /&gt;&lt;BR /&gt;# nohup sar -d 180 400 &amp;gt; sar.log &amp;amp;&lt;BR /&gt;&lt;BR /&gt;background job also stopped.&lt;BR /&gt;&lt;BR /&gt;what's the problem ??&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;moon&lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 19:16:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902243#M839317</guid>
      <dc:creator>moon_5</dc:creator>
      <dc:date>2005-05-16T19:16:23Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902244#M839318</link>
      <description>Not sure what you are trying to do with sar -d 180 400.&lt;BR /&gt;&lt;BR /&gt;When I run nohup sar -d 180 400 &amp;gt; sar.log &amp;amp; nothing happens and when I run&lt;BR /&gt;&lt;BR /&gt;# sar -d 180 400 &lt;BR /&gt;&lt;BR /&gt;I only get the headings from the output.&lt;BR /&gt;&lt;BR /&gt;you can also do &lt;BR /&gt;&lt;BR /&gt;#at now&lt;BR /&gt;sar -d 180 400 &amp;gt; sar.log &lt;BR /&gt;&lt;CTRL d=""&gt;&lt;BR /&gt;&lt;BR /&gt;this will then give you a PID witht he process running&lt;/CTRL&gt;</description>
      <pubDate>Mon, 16 May 2005 19:29:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902244#M839318</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2005-05-16T19:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902245#M839319</link>
      <description>launch background job:&lt;BR /&gt;&lt;BR /&gt;nohup jobname &amp;amp;&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;jobname &amp;amp;&lt;BR /&gt;&lt;BR /&gt;exit twice in seqeuence to release the terminal session.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep jobname&lt;BR /&gt;&lt;BR /&gt;to see the process list.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 16 May 2005 19:41:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902245#M839319</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-05-16T19:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902246#M839320</link>
      <description>Thank you for reply~&lt;BR /&gt;&lt;BR /&gt;now I using #at now command but is it wrong?&lt;BR /&gt;&lt;BR /&gt;#nohup sar -d 180 400 &amp;gt; sar.log &amp;amp;&lt;BR /&gt;&lt;BR /&gt;then I tried to exit terminal session.&lt;BR /&gt;&lt;BR /&gt;you know this message showed.&lt;BR /&gt;&lt;BR /&gt;#there is running jobs&lt;BR /&gt;&lt;BR /&gt;after that I exit session.&lt;BR /&gt;&lt;BR /&gt;#ps -ef|grep sar -&amp;gt; no process &lt;BR /&gt;&lt;BR /&gt;do I have to set something ?? &lt;BR /&gt;</description>
      <pubDate>Mon, 16 May 2005 19:58:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902246#M839320</guid>
      <dc:creator>moon_5</dc:creator>
      <dc:date>2005-05-16T19:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902247#M839321</link>
      <description>Try this..&lt;BR /&gt;&lt;BR /&gt;nohup sar -d 180 400 &amp;gt; sar.log &amp;amp;&lt;BR /&gt;&lt;BR /&gt;then close your emulation session, don't 'exit'.&lt;BR /&gt;&lt;BR /&gt;When you 'exit', the shell makes a reasonable attempt to kill all child processes.&lt;BR /&gt;&lt;BR /&gt;What 'nohup' does, is stops a 'HUP' signal getting to your child process, not a reasonable 'TERM' or 'QUIT'.  If you kill (not exit) the shell session, it isn't quite so friendly.&lt;BR /&gt;&lt;BR /&gt;You can try setting 'stty -hupcl', but that probably won't help either.</description>
      <pubDate>Mon, 16 May 2005 21:05:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902247#M839321</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-16T21:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902248#M839322</link>
      <description>the at now command is another way to run the job but this is by using the cron daemon.&lt;BR /&gt;&lt;BR /&gt;it is find and you do not need the nohup or &amp;amp; as I previously stated:&lt;BR /&gt;&lt;BR /&gt;# at now &lt;ENTER&gt;&lt;BR /&gt;sar -d 180 400 &amp;gt; sar.log &lt;ENTER&gt;&lt;BR /&gt;&lt;CTRL d=""&gt;&lt;BR /&gt;&lt;BR /&gt;you can also schedule a job using at eg&lt;BR /&gt;&lt;BR /&gt;at &lt;TIME&gt; &lt;DATE&gt;&lt;BR /&gt;&lt;BR /&gt;as mentioned will run using the cron daemon.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;/DATE&gt;&lt;/TIME&gt;&lt;/CTRL&gt;&lt;/ENTER&gt;&lt;/ENTER&gt;</description>
      <pubDate>Mon, 16 May 2005 22:25:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902248#M839322</guid>
      <dc:creator>lawrenzo_1</dc:creator>
      <dc:date>2005-05-16T22:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: background job</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902249#M839323</link>
      <description>thank you ~</description>
      <pubDate>Mon, 16 May 2005 22:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/background-job/m-p/4902249#M839323</guid>
      <dc:creator>moon_5</dc:creator>
      <dc:date>2005-05-16T22:52:57Z</dc:date>
    </item>
  </channel>
</rss>

