Fixing Priority

Lalit Seth laalit_seth@hotmail.com
Thu Nov 4 07:36:00 GMT 2004


Hi,

I am having a Multi-Threaded Daemon running on HPUX 11.11 using GCC.

I can see in 'top' that its PRIORITY is somewhere near 236-255 with NICE
vlaue at 20.

There are other process running at priorities at 154, 156 but my daemon
always remain at top of the list.

Why?

Also i witnesssed that after few minutes of execution the PRIORITY is
changed to 152.
Why does it change from 242/255 to 152?

Is there any system call through which i can FIX the Priority for my
Daemon?

Many Thanks

_________________________________________________________________
Mergers, takeovers, buyouts. Get all the latest biz bytes. 
http://www.msn.co.in/business/ Tune in to MSN Business!



More information about the Gcc-help mailing list