<br><br><div><span class="gmail_quote">On 9/19/06, <b class="gmail_sendername">Brian Wood</b> <<a href="mailto:beww@beww.org">beww@beww.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>On Sep 19, 2006, at 6:22 PM, David Grant wrote:<br><br>> Is it possible to permanently set the nice level for some processes?<br>><br><br>It would depend on the process and how it is called. One easy<br>solution is to simply write a shell script that starts the process
<br>you want with the correct nice parameter, then call that script<br>instead of calling the command directly, but I wouldn't try that with<br>something like "init".<br></blockquote></div><br>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 start-stop-daemon.
<br><br>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.<br><br>Dave<br>
<br clear="all"><br>-- <br>David Grant<br><a href="http://www.davidgrant.ca">http://www.davidgrant.ca</a>