[mythtv-users] Permanently set nice level for some processes

David Grant davidgrant at gmail.com
Wed Sep 20 21:40:35 UTC 2006

On 9/19/06, Brian Wood <beww at beww.org> wrote:
> On Sep 19, 2006, at 6:22 PM, David Grant wrote:
> > Is it possible to permanently set the nice level for some processes?
> >
> It would depend on the process and how it is called. One easy
> solution is to simply write a shell script that starts the process
> you want with the correct nice parameter, then call that script
> instead of calling the command directly, but I wouldn't try that with
> something like "init".

I figured out that I can either start a process with nice -n 10 <command> or
if it is started with start-stop-daemon, then I can use -N 10 as argument to

I'm using it to nice nfsd and sshd to higher levels. I am using my mythtv
box as a backup box as well for another machine and I don't want nfs and ssh
transfers causing recordings to get screwed up.


David Grant
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060920/a6960322/attachment.htm 

More information about the mythtv-users mailing list