<?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 Process Priority in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985676#M123232</link>
    <description>I have been asked by a vendor to create a userid with a nice value in its .profile/.shrc which lets all processes started by that User run with a higher priority than the System Default.&lt;BR /&gt;&lt;BR /&gt;Is that possible, I thought you have to be a root to change nice values&lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas on the above.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Dean</description>
    <pubDate>Sat, 31 May 2003 07:23:11 GMT</pubDate>
    <dc:creator>Dean Wallis</dc:creator>
    <dc:date>2003-05-31T07:23:11Z</dc:date>
    <item>
      <title>Process Priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985676#M123232</link>
      <description>I have been asked by a vendor to create a userid with a nice value in its .profile/.shrc which lets all processes started by that User run with a higher priority than the System Default.&lt;BR /&gt;&lt;BR /&gt;Is that possible, I thought you have to be a root to change nice values&lt;BR /&gt;&lt;BR /&gt;Does anyone have any ideas on the above.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Dean</description>
      <pubDate>Sat, 31 May 2003 07:23:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985676#M123232</guid>
      <dc:creator>Dean Wallis</dc:creator>
      <dc:date>2003-05-31T07:23:11Z</dc:date>
    </item>
    <item>
      <title>Re: Process Priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985677#M123233</link>
      <description>No, only root can increase the amount of CPU a process gets. Increasing the 'nice' value for a child process, results in less CPU usage.&lt;BR /&gt;&lt;BR /&gt;From the 'nice' man page&lt;BR /&gt;Ordinary users can only increase the system nice value of any child process relative to the current process; i.e., priority_change must be a positive (unsigned) value, resulting in a lower priority. To start a child process at a lower system nice value (higher priority) than the current process, the user must have the appropriate privileges, regardless of the relative nice-priority value desired.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Michael&lt;BR /&gt;"When I have trouble spelling, it's called fat finger syndrome."&lt;BR /&gt;</description>
      <pubDate>Sat, 31 May 2003 07:47:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985677#M123233</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-05-31T07:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Process Priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985678#M123234</link>
      <description>Hi Dean,&lt;BR /&gt;&lt;BR /&gt;As Tully pointed out ONLY root can lower nice values which increases priority.&lt;BR /&gt;EVEN the owner of the proc can ONLY increase nice thusly decreasing priority.&lt;BR /&gt;I think I'd question the vendor as to *why* they feel their proc needs a lower nice value. My intuition is whispering to me..."Crappy throughput - sloppy code - let's disguise this fact". &lt;BR /&gt;The best you could do - and personnally I wouldn't w/o a VERY compelling reason - would be to have root start the proc using &lt;BR /&gt;&lt;BR /&gt;nice --X /path/to/binary&lt;BR /&gt;&lt;BR /&gt;where X=nice decrease from the default of 20. But then root would own the PID which could cause problems in &amp;amp; of itself.&lt;BR /&gt;&lt;BR /&gt;My $0.02,&lt;BR /&gt;Jeff</description>
      <pubDate>Sat, 31 May 2003 17:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985678#M123234</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-05-31T17:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: Process Priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985679#M123235</link>
      <description>Another question one should *think* about here is....&lt;BR /&gt;&lt;BR /&gt;IF I legally cannot modify your code - why do you feel you think I should modify my environment in an obviously biased manner?&lt;BR /&gt;&lt;BR /&gt;My 2 cents,&lt;BR /&gt;Jeff</description>
      <pubDate>Sat, 31 May 2003 19:12:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-priority/m-p/2985679#M123235</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-05-31T19:12:12Z</dc:date>
    </item>
  </channel>
</rss>

