0

I want to set the custom priority level (i.e. nice) to a particular program as the default priority level. The tricky thing is that the process is not started by me but by background processes not under my control. Is it possible?

2
  • If you have root access, then renice will work, well on most processes.
    – Solar Mike
    Oct 31, 2021 at 21:36
  • But renice is adapting the nice value of a running process, isn't it? I asked about a default nice value (especially to not need to individually renice it over and over again) for processes whose starts and stops are not under my control Oct 31, 2021 at 21:47

1 Answer 1

1

See the section 5 man page for launchd.plist -- we can specify the nice value in the config plist for that process. If the process is kicked off by something other than launchd itself, then... we may be out of options.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .