<?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: process priority in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560995#M918744</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;  Priorities are assigned by default. If U want to assign some other priority, U will have to use nice command while executing the program. See the example below&lt;BR /&gt;&lt;BR /&gt;#nice -n -5 sam&lt;BR /&gt;&lt;BR /&gt;  After starting the process If U want to change the priority, Use renice command.. See example&lt;BR /&gt;&lt;BR /&gt;#renice -n -5 "process ID"&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;&lt;BR /&gt;Shahul&lt;BR /&gt;</description>
    <pubDate>Sat, 04 Aug 2001 04:57:48 GMT</pubDate>
    <dc:creator>Shahul</dc:creator>
    <dc:date>2001-08-04T04:57:48Z</dc:date>
    <item>
      <title>process priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560991#M918740</link>
      <description>how is the priority assigned to a process?&lt;BR /&gt;    i know about nice/renice&lt;BR /&gt;    i know some programs have a "-p" option&lt;BR /&gt;    i DO NOT know how to start frog.ksh at priority 183 ...either as root a a general user&lt;BR /&gt;</description>
      <pubDate>Thu, 02 Aug 2001 20:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560991#M918740</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2001-08-02T20:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: process priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560992#M918741</link>
      <description>On HP-UX systems, the priority of a process is set by the scheduler (unless the process is running at a real-time priority, i.e. started with rtprio).&lt;BR /&gt;&lt;BR /&gt;The scheduler works by setting an initial priority to a process (based on whether it is a system or user process etc.) and then places the process on the run queue.  Each process on the run queue receives a certain number of CPU "timeslices" depending on thier relative priorities.&lt;BR /&gt;&lt;BR /&gt;Whilst a process is running (i.e. it has CPU time), its priority is degraded.  At the same time, the priorities of non running processes are increased.  When another non process has a higher priority than a running process, the scheduler will give the higher priority process CPU time.&lt;BR /&gt;&lt;BR /&gt;Basically nice and renice control the "rate" at which process priorities are degraded or increased as opposed to explicitly setting the priority.&lt;BR /&gt;&lt;BR /&gt;Also, using nice has different effects depending on which shell you are running; if you run nice from sh or ksh it will execute /usr/bin/nice which will lower priorities by 10 each timeslice. If you run from csh, it will execute it's built in nice and lower priorites by 4 each timeslice.</description>
      <pubDate>Fri, 03 Aug 2001 09:28:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560992#M918741</guid>
      <dc:creator>Jim Marsden</dc:creator>
      <dc:date>2001-08-03T09:28:36Z</dc:date>
    </item>
    <item>
      <title>Re: process priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560993#M918742</link>
      <description>hi,&lt;BR /&gt;you can't set the priority to 183 the lowest value of priority is 39.even if you colud set the priority to 183, processes will be running at the priority value of 39.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; An unsigned value increases the system nice value                           for command, causing it to run at lower priority.                           A negative value requires superuser privileges,                         and assigns a lower system nice value (higher                           priority) to command.  If the current process is                           not privileged, the value is silently treated as                        if it were 0.&lt;BR /&gt;&lt;BR /&gt;If the value of priority_change would result in a&lt;BR /&gt;system nice value outside the range 0 through 39,&lt;BR /&gt;the corresponding limit value of 0 or 39 is used&lt;BR /&gt;instead.</description>
      <pubDate>Fri, 03 Aug 2001 11:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560993#M918742</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2001-08-03T11:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: process priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560994#M918743</link>
      <description>ravi, i was asking about a priority of 183 not a nice value of 183&lt;BR /&gt;&lt;BR /&gt;jim, how does the scheduler after determining frog.ksh is a user process then actually give it a priority number (because doesn't the allowed user process priority range from 178 to 251) ...is there some configuration file or rules used? why would it not give it 183 instead of 193, etc...?</description>
      <pubDate>Sat, 04 Aug 2001 00:17:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560994#M918743</guid>
      <dc:creator>Marc Ahrendt</dc:creator>
      <dc:date>2001-08-04T00:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: process priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560995#M918744</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;  Priorities are assigned by default. If U want to assign some other priority, U will have to use nice command while executing the program. See the example below&lt;BR /&gt;&lt;BR /&gt;#nice -n -5 sam&lt;BR /&gt;&lt;BR /&gt;  After starting the process If U want to change the priority, Use renice command.. See example&lt;BR /&gt;&lt;BR /&gt;#renice -n -5 "process ID"&lt;BR /&gt;&lt;BR /&gt;Best of luck&lt;BR /&gt;&lt;BR /&gt;Shahul&lt;BR /&gt;</description>
      <pubDate>Sat, 04 Aug 2001 04:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560995#M918744</guid>
      <dc:creator>Shahul</dc:creator>
      <dc:date>2001-08-04T04:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: process priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560996#M918745</link>
      <description>Hello Marc,&lt;BR /&gt;&lt;BR /&gt;priorities of Time-Sharing processes (128-251) are&lt;BR /&gt;"aging", which means the scheduler is changing them;&lt;BR /&gt;every time the process does NOT get a CPU when a&lt;BR /&gt;process switch happens, its priority is numerically&lt;BR /&gt;decreased (which means, the priority is raised ;-),&lt;BR /&gt;until it is so high prioritized that it gets a CPU. Then its&lt;BR /&gt;priority is reset to the original (and hence lower) one.&lt;BR /&gt;POSIX and Real-Time priorities are set with the &lt;BR /&gt;appropriate commands, but Time-Sharing priorities are&lt;BR /&gt;set by inheritance from the parent processes, or with&lt;BR /&gt;the system call "sched_setparam(2)".&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;   Wodisch</description>
      <pubDate>Sat, 04 Aug 2001 21:25:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2560996#M918745</guid>
      <dc:creator>Wodisch</dc:creator>
      <dc:date>2001-08-04T21:25:26Z</dc:date>
    </item>
  </channel>
</rss>

