[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changing process priority



On Fri, Feb 21, 2003 at 08:23:41PM +0100, Ronald Castillo wrote:
> I was wondering if anyone could please tell me how to change the priority for 
> a process.  Actually what I want to do is give more (most) processor priority 
> to ffmpeg when encoding videos.

Read the man page on "nice". If you want to give it highest priority
you'd use "nice -20 command ...", but it's usually a better idea to use
-10 or -15 instead to just give it an advantage over most of your other
processes (which usually run at 0).

-- 
Michael Heironimus



Reply to: