改变进程优先级的命令是什么?

改变进程优先级的命令是什么?

命令:
nice – Run a program at an altered priority (POSIX)
renice – Adjust the priorities of running processes (POSIX)

函数:
sched_setparam() – Change the priority of a process
pthread_setschedparam() --Set thread scheduling parameters

还有一个QNX自己的 slay -P