<?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 started from .profile terminates on logout in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490260#M847985</link>
    <description>Have you tried nohup'ing it, or running it in the background?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Mon, 21 Feb 2005 14:01:26 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2005-02-21T14:01:26Z</dc:date>
    <item>
      <title>script started from .profile terminates on logout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490259#M847984</link>
      <description>I have a small sar script that is set to run in the background.  If I telnet or ssh to the machine and launch the script it will continue to run after I logout.  However, if I add the script to the end of .profile it does launch when I login but then terminates when I logout.  How do I run the script automatically on login but allow it to keep running after logging out?</description>
      <pubDate>Mon, 21 Feb 2005 13:58:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490259#M847984</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2005-02-21T13:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: script started from .profile terminates on logout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490260#M847985</link>
      <description>Have you tried nohup'ing it, or running it in the background?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 21 Feb 2005 14:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490260#M847985</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2005-02-21T14:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: script started from .profile terminates on logout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490261#M847986</link>
      <description>nohup worked!&lt;BR /&gt;&lt;BR /&gt;Thanks very much.</description>
      <pubDate>Mon, 21 Feb 2005 14:07:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490261#M847986</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2005-02-21T14:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: script started from .profile terminates on logout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490262#M847987</link>
      <description>Bear in mind that the next time you login, the first one will still be running, and you'll start another one... and another one, and another one...&lt;BR /&gt;Presumably you're saving the output to a file. If all these processes are writing to the same file, it will get rather big and messy (not to mention all those processes cluttering up your ps output).&lt;BR /&gt;&lt;BR /&gt;Have you considered running it in the background from an rc?.d startup script?</description>
      <pubDate>Tue, 22 Feb 2005 05:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490262#M847987</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2005-02-22T05:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: script started from .profile terminates on logout</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490263#M847988</link>
      <description>Mark,&lt;BR /&gt;&lt;BR /&gt;Why are you running it from your .profile and not from cron?&lt;BR /&gt;man sadc&lt;BR /&gt;Although sar is for checking your server, it can also have an impact on performance.&lt;BR /&gt;&lt;BR /&gt;Darrel&lt;BR /&gt;</description>
      <pubDate>Tue, 22 Feb 2005 05:51:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/script-started-from-profile-terminates-on-logout/m-p/3490263#M847988</guid>
      <dc:creator>Darrel Louis</dc:creator>
      <dc:date>2005-02-22T05:51:50Z</dc:date>
    </item>
  </channel>
</rss>

