<?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: Renice the process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919120#M285705</link>
    <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The thing to remember is that a lower priority is going to get more cpu.&lt;BR /&gt;&lt;BR /&gt;Recognize that if a process is looking for I/O it really doesn't matter how much CPU it gets, its not going to do anything until i/o is complete.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Sat, 30 Dec 2006 12:49:42 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2006-12-30T12:49:42Z</dc:date>
    <item>
      <title>Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919117#M285702</link>
      <description>I want to renice the process , so that  the prioity of process 8365 higher than 16104 , can advise how to set it , what is the meaning of pri and ni , does higher value mean higher prioity ? thx&lt;BR /&gt;&lt;BR /&gt;PID USER     PRI  NI  &lt;BR /&gt;8365 root      15   0   &lt;BR /&gt;16104 root      15 0</description>
      <pubDate>Sat, 30 Dec 2006 08:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919117#M285702</guid>
      <dc:creator>hangyu</dc:creator>
      <dc:date>2006-12-30T08:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919118#M285703</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;The manpages for 'renice' answer your questions:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/en/B2355-60127/renice.1M.html" target="_blank"&gt;http://www.docs.hp.com/en/B2355-60127/renice.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sat, 30 Dec 2006 08:36:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919118#M285703</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-12-30T08:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919119#M285704</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Nice values are inversely proportionate to priorities.  A higher nice value equates to a lower priority, as the process had been made "nicer".&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Sat, 30 Dec 2006 12:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919119#M285704</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2006-12-30T12:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919120#M285705</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;The thing to remember is that a lower priority is going to get more cpu.&lt;BR /&gt;&lt;BR /&gt;Recognize that if a process is looking for I/O it really doesn't matter how much CPU it gets, its not going to do anything until i/o is complete.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 30 Dec 2006 12:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919120#M285705</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-12-30T12:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919121#M285706</link>
      <description>Priority will have virtually no effect on any process that talks to the network or to a disk. Once a program requests any I/O, priority has no effect. Priority only has significant meaning for programs that perform continuous calculations. The OS will evaluate continuously executing programs and adjust the priority to a higher number as the program consumes more CPU time. If there is only one program running like this, then the priority will continue growing (called priority decay) to the highest number. However, the program still runs continuously until something else needs to run such as a login.&lt;BR /&gt; &lt;BR /&gt;Now if two programs (in a single CPU system) are running continuously, the OS will switch back and forth between the two programs based on the priority difference. Although there are some esoteric resource calculations made by the kernel based on each program's behavior, the most important metric is CPU time consumed.&lt;BR /&gt; &lt;BR /&gt;Now these basic concepts only apply to normal processes where the priority is between 172 and 255, called user-level priorities. Specialized kernel routines and system calls run at system-level priorities 128 to 177. These system-level priorities to not get adjusted. Normal programs should never be set to system-level priorities.&lt;BR /&gt; &lt;BR /&gt;There is another priority range (unique to HP-UX) called realtime priority called rtprio. This is reserved for very specialized processes such as ttisr which will show up as PRI = -32. The negative number has to do with internal kernel priorities which range from 0 to 767, and external priorities (such as ps -l) which range from -512 to 255.&lt;BR /&gt; &lt;BR /&gt;Now the details are much more complex than this overview but suffice it to say that adjusting priorities seldom has the desired effect (ie, giving one process more or less time) for most applications. You can use nice or renice to adjust a process but whether it has much of an effect depends mostly on CPU cycles and not I/O. To adequately control applications that are competing for CPU and I/O, you'll need the Process Resource Manager.</description>
      <pubDate>Sat, 30 Dec 2006 14:07:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919121#M285706</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-12-30T14:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919122#M285707</link>
      <description>Hangyu,&lt;BR /&gt;&lt;BR /&gt;You can use renice command to change the nice value of a running process.&lt;BR /&gt;&lt;BR /&gt;In a nutshell the nice value scheme provides a facility where you run lengthy jobs at a lower priority while processes that are required to be completed in a short time are run at a higher priroty level.&lt;BR /&gt;&lt;BR /&gt;# ps -efl  , and check for the NI column to check the current nice value. All the procsses by default will have a nice value of 20.&lt;BR /&gt;&lt;BR /&gt;So if you want to run a process with nice value higher than 20 , (suppose 30)you have to use:&lt;BR /&gt;&lt;BR /&gt;# nice -10 newprog  # (for new program/jobs)&lt;BR /&gt;( newprog will run at a nice value of 30 )&lt;BR /&gt;&lt;BR /&gt;In your case to change the nice value of the running process (PID 8365 ): &lt;BR /&gt;use &lt;BR /&gt;# renice -n 5 8365 &lt;BR /&gt;&lt;BR /&gt;This will increase the nice value 5 more from the default value.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 30 Dec 2006 15:20:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919122#M285707</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2006-12-30T15:20:08Z</dc:date>
    </item>
    <item>
      <title>Re: Renice the process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919123#M285708</link>
      <description>Hangyu  , Happy new year. 2007!! , &lt;BR /&gt;&lt;BR /&gt;If the celebration is over , have a look and review your posted thread(s), &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Jan 2007 22:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/renice-the-process/m-p/3919123#M285708</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2007-01-02T22:22:01Z</dc:date>
    </item>
  </channel>
</rss>

