<?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: Services in HP-UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639183#M379232</link>
    <description>sorry I misunderstood and just made a mistake. you could find the services similiar to output of chkconfig --list in /sbin/init.d, and symbolic links are at /sbin/rc*.d(* represent run level), and you could configure services to be started at specific run level by edit configuration file at /etc/rc.config.d. As rariasn said, you can man rc for detail information.</description>
    <pubDate>Fri, 28 May 2010 11:15:55 GMT</pubDate>
    <dc:creator>stephen peng</dc:creator>
    <dc:date>2010-05-28T11:15:55Z</dc:date>
    <item>
      <title>Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639180#M379229</link>
      <description>Hi All,&lt;BR /&gt;I am new to Hp-Ux. I want to know the command to list all the active services. How to check which services will be running for particular runlevel. How to start or stop the service and how to check its status.&lt;BR /&gt;&lt;BR /&gt;In linux I use to use &lt;BR /&gt;#chkconfig --list&lt;BR /&gt;&lt;BR /&gt;Is there any command in HP-UX similar to it?&lt;BR /&gt;&lt;BR /&gt;Thanks in Advance....&lt;BR /&gt;Appreciate revert.</description>
      <pubDate>Fri, 28 May 2010 10:33:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639180#M379229</guid>
      <dc:creator>SiddhV</dc:creator>
      <dc:date>2010-05-28T10:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639181#M379230</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;# man rc&lt;BR /&gt;&lt;BR /&gt;rgs,&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2010 11:03:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639181#M379230</guid>
      <dc:creator>rariasn</dc:creator>
      <dc:date>2010-05-28T11:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639182#M379231</link>
      <description>you can edit /etc/services to enable or disable services on HP-UX.</description>
      <pubDate>Fri, 28 May 2010 11:06:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639182#M379231</guid>
      <dc:creator>stephen peng</dc:creator>
      <dc:date>2010-05-28T11:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639183#M379232</link>
      <description>sorry I misunderstood and just made a mistake. you could find the services similiar to output of chkconfig --list in /sbin/init.d, and symbolic links are at /sbin/rc*.d(* represent run level), and you could configure services to be started at specific run level by edit configuration file at /etc/rc.config.d. As rariasn said, you can man rc for detail information.</description>
      <pubDate>Fri, 28 May 2010 11:15:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639183#M379232</guid>
      <dc:creator>stephen peng</dc:creator>
      <dc:date>2010-05-28T11:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639184#M379233</link>
      <description>Thanks for Ur prompt response...&lt;BR /&gt;But still my purpose is not solved completely...&lt;BR /&gt;What if for eg. I want to start lp service in runlevel 3.&lt;BR /&gt;How do i chk its status if it is running or hanged or stopped.&lt;BR /&gt;(sry guys I am linux guy so trying to relate things with linux.. pls bare with me :-(  )&lt;BR /&gt;Like in linux it would clearly give like:&lt;BR /&gt;#service lp start&lt;BR /&gt;lp is started.&lt;BR /&gt;# service lp status&lt;BR /&gt;lp is running&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2010 11:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639184#M379233</guid>
      <dc:creator>SiddhV</dc:creator>
      <dc:date>2010-05-28T11:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639185#M379234</link>
      <description>&lt;!--!*#--&gt;&amp;gt; you can edit /etc/services to enable or&lt;BR /&gt;&amp;gt; disable services on HP-UX.&lt;BR /&gt;&lt;BR /&gt;Not really.  You can edit "/etc/services".&lt;BR /&gt;That may or may not enable or disable&lt;BR /&gt;anything.  The world would be a better place&lt;BR /&gt;if people stopped offering advice like this.</description>
      <pubDate>Fri, 28 May 2010 11:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639185#M379234</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2010-05-28T11:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639186#M379235</link>
      <description>&amp;gt;The world would be a better place&lt;BR /&gt;&amp;gt;if people stopped offering advice like this.&lt;BR /&gt;&lt;BR /&gt;The world would be a much better place if people could show their generosity when thing not going as they wish.&lt;BR /&gt;&lt;BR /&gt;read the reply below my first reply.</description>
      <pubDate>Fri, 28 May 2010 12:11:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639186#M379235</guid>
      <dc:creator>stephen peng</dc:creator>
      <dc:date>2010-05-28T12:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639187#M379236</link>
      <description>Siddhv,&lt;BR /&gt;you can check out /etc/rc.log for services startup status at os startup time, of course sometimes services would stop or hang accidently, you could use ps to check whether the process of specific services was ok, I don't remember whether there was status option for scripts at /sbin/init.d beside stop and start, you can check out those scripts yourself.&lt;BR /&gt;sorry for my poor english expression</description>
      <pubDate>Fri, 28 May 2010 12:22:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639187#M379236</guid>
      <dc:creator>stephen peng</dc:creator>
      <dc:date>2010-05-28T12:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639188#M379237</link>
      <description>... you can edit /etc/services ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Why? No!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;==&amp;gt;&lt;BR /&gt;Definition: /etc/services: On UNIX, the configuration file /etc/services maps port numbers to named services. Key point: Its role in life is so that programs can do a getportbyname() sockets call in their code in order to get what port they should use. For example, a POP3 email daemon would do a getportbyname ("pop3") in order to retrieve the number 110 that pop3 runs at. The idea is that if all POP3 daemons use getportbyname(), then no matter what POP3 daemon you run, you can always reconfigure its port number by editing / etc/services. Misunderstanding: This file is bad in order to figure out what port numbers mean. If you want to find out what ports programs are using, you should instead use the program lsof to find out exactly which ports are bound to which processes. If running lsof is not appropriate, then you should lookup the ports in a more generic reference.&lt;BR /&gt;&lt;BR /&gt;.................................&lt;BR /&gt;Source: Hacking-Lexicon / Linux Dictionary V 0.16&lt;BR /&gt;&lt;A href="http://www.tldp.org/LDP/Linux-Dictionary/html/index.html" target="_blank"&gt;http://www.tldp.org/LDP/Linux-Dictionary/html/index.html&lt;/A&gt;&lt;BR /&gt;Author: Binh Nguyen linuxfilesystem(at)yahoo(dot)com(dot)au&lt;BR /&gt;.................................</description>
      <pubDate>Fri, 28 May 2010 17:56:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639188#M379237</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2010-05-28T17:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: Services in HP-UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639189#M379238</link>
      <description>There is no chkconfig in hp-ux. For most unix systems, all the start up and stop scripts are kept in directories /etc/init.d, /sbin/rc0.d, /sbin/rc1.d, /sbin/rc2.d and /sbin/rc3.d. Their location decides their run level, such as in /sbin/rc2.d is for run level 2 and /sbin/rc3.d is for run level 3. &lt;BR /&gt;&lt;BR /&gt;Usually, the original scripts are kept in /etc/init.d and all the others are just link to the original scripts. &lt;BR /&gt;&lt;BR /&gt;There is also /etc/rc.config.d directory, which decides whether the start script should be run or not.&lt;BR /&gt;&lt;BR /&gt;When hp-ux is booting up, its console shows the list of the scripts are successful or not.&lt;BR /&gt;&lt;BR /&gt;If you want to start or stop a service individually, you need to go to /sbin/init.d to run the script with start or stop after it. &lt;BR /&gt;&lt;BR /&gt;This is just a simple description and you need to check the manual for details.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 28 May 2010 19:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/services-in-hp-ux/m-p/4639189#M379238</guid>
      <dc:creator>Tingli</dc:creator>
      <dc:date>2010-05-28T19:08:44Z</dc:date>
    </item>
  </channel>
</rss>

