<?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: Adding an Application at System Startup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965471#M119262</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;You need to add your startup script in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Your config file in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;And your stop and start flagfiles in sequencer directories&lt;BR /&gt;&lt;BR /&gt;/sbin/rc0.d &amp;lt; run level&lt;BR /&gt;/sbin/rc1.d&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;Have a look at this doc for more info&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_swrec_EN_01_E/Startup.pdf" target="_blank"&gt;http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_swrec_EN_01_E/Startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here is an example doc for scope_collect&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 05 May 2003 08:12:44 GMT</pubDate>
    <dc:creator>steven Burgess_2</dc:creator>
    <dc:date>2003-05-05T08:12:44Z</dc:date>
    <item>
      <title>Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965469#M119260</link>
      <description>Greetings Gurus,&lt;BR /&gt;&lt;BR /&gt;I would like to add an Application at System Startup. I am  using HP-UX 11.0, how do I go about this ? &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manjunath.</description>
      <pubDate>Mon, 05 May 2003 07:47:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965469#M119260</guid>
      <dc:creator>Manjunath Shastry</dc:creator>
      <dc:date>2003-05-05T07:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965470#M119261</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;11 is like 10&lt;BR /&gt;&lt;BR /&gt;/usr/share/doc/start_up.txt&lt;BR /&gt;&lt;BR /&gt;should be on your box and explains it well&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;               Steve Steel</description>
      <pubDate>Mon, 05 May 2003 08:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965470#M119261</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2003-05-05T08:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965471#M119262</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;You need to add your startup script in /sbin/init.d&lt;BR /&gt;&lt;BR /&gt;Your config file in /etc/rc.config.d&lt;BR /&gt;&lt;BR /&gt;And your stop and start flagfiles in sequencer directories&lt;BR /&gt;&lt;BR /&gt;/sbin/rc0.d &amp;lt; run level&lt;BR /&gt;/sbin/rc1.d&lt;BR /&gt;&lt;BR /&gt;etc&lt;BR /&gt;&lt;BR /&gt;Have a look at this doc for more info&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_swrec_EN_01_E/Startup.pdf" target="_blank"&gt;http://www4.itrc.hp.com/service/iv/docDisplay.do?docId=/DE_SW_UX_swrec_EN_01_E/Startup.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here is an example doc for scope_collect&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 May 2003 08:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965471#M119262</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-05-05T08:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965472#M119263</link>
      <description>&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062936885" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062936885&lt;/A&gt;</description>
      <pubDate>Mon, 05 May 2003 08:13:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965472#M119263</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2003-05-05T08:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965473#M119264</link>
      <description>Hi,&lt;BR /&gt;You would have to write a start/stop script that you would put in /sbin/init.d, then create symbolic links : one at your start level as SXXX&lt;YOURAPP&gt; (XXX is a numeric value corresponding at the order of exection: the greater is last) the other at start -1 as KYYY&lt;YOURAPP&gt; the system will add the argument start or stop&lt;BR /&gt;have a look at the level /sbin/rc3.d for instance and compare with /sbin/rc2.d&lt;BR /&gt;For exemple look at my rc.adsm script put at /sbin/init.d:&lt;BR /&gt;#!/sbin/sh&lt;BR /&gt;export PATH=/usr/sbin:/usr/bin:/sbin&lt;BR /&gt;rval=0&lt;BR /&gt;&lt;BR /&gt;case "$1" in&lt;BR /&gt;  start_msg)&lt;BR /&gt;        echo "Start ADSM agent"&lt;BR /&gt;        ;;&lt;BR /&gt;  stop_msg)&lt;BR /&gt;        echo "Stop ADSM agent"&lt;BR /&gt;        ;;&lt;BR /&gt;  start)&lt;BR /&gt;        (dsmc sched &amp;gt;/tmp/dsm.log 2&amp;gt;&amp;amp;1  )&amp;amp;&lt;BR /&gt;        ;;&lt;BR /&gt;  stop)&lt;BR /&gt;        for i in $(ps -ef|grep -i dsmc|grep -v grep|awk '{print $2}')&lt;BR /&gt;        do&lt;BR /&gt;           kill -9 $i&lt;BR /&gt;        done&lt;BR /&gt;        ;;&lt;BR /&gt;  *)&lt;BR /&gt;        echo "usage: $0 {start|stop}"&lt;BR /&gt;        rval=1&lt;BR /&gt;        ;;&lt;BR /&gt;esac&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor&lt;/YOURAPP&gt;&lt;/YOURAPP&gt;</description>
      <pubDate>Mon, 05 May 2003 08:17:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965473#M119264</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2003-05-05T08:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965474#M119265</link>
      <description>Hi,&lt;BR /&gt;See this link.&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0fdefef4d250d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x0fdefef4d250d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 05 May 2003 08:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965474#M119265</guid>
      <dc:creator>V. V. Ravi Kumar_1</dc:creator>
      <dc:date>2003-05-05T08:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an Application at System Startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965475#M119266</link>
      <description>Greetings Gurus,&lt;BR /&gt;&lt;BR /&gt;Thank you for the suggestions, I have decided to implement this by the weekend.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Manjunath.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 May 2003 07:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/adding-an-application-at-system-startup/m-p/2965475#M119266</guid>
      <dc:creator>Manjunath Shastry</dc:creator>
      <dc:date>2003-05-06T07:37:03Z</dc:date>
    </item>
  </channel>
</rss>

