how to *start* a process with a high priority
You just launch it with nice.
E.g.:
nice -n 18 /path/to/mydaemon
Additionally, you can use the ionice command to start the process with low io priority:
nice -n18 ionice -c3 /path/to/mydaemon
You just launch it with nice.
E.g.:
nice -n 18 /path/to/mydaemon
Additionally, you can use the ionice command to start the process with low io priority:
nice -n18 ionice -c3 /path/to/mydaemon