> On 05/09/2006, at 11:39 PM, Nergal Dimitri wrote:
>> I got a few questions;
>>
>> 1.) Is the 'priocntl' utility used instead of the 'nice' utility,
>> or is it just another priority tool?
>>       I got the feeling it's the same as 'nice'....
>
> I can't remember where I saw this documented, but basically priocntl
> is the preferred and native method of changing scheduling parameters
> on solaris. The nice command is there for compatibility reasons but
> provides far less control than priocntl. For example priocntl allow
> selection of the scheduling class and class-specific parameters.

I'm glad that someone brought this topic up.  I often use /usr/xpg4/bin/nice
as the root user to toss a process "into the basement" where it can slowly
rot as far as I am concerned. :-)

Like I need to bzip or gzip something large .. I do this

  nohup /usr/xpg4/bin/nice -n +20 gzip -9 foo

then leave it to stew slowly on the back burner.  It will get done
eventually and I am happy with that.

I have looked at the manpages over and over and even tried the examples.  I
generally come away with a less than satisfied feeling.

         http://www.blastwave.org/man/priocntl_1.html

I think that running a process with "real time" priority is dangerous unless
you really really know what you are doing.

In any case .. I'd love to see some real examples of how we can use this.

Dennis

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to