我使用以下命令给 sshd 进程赋予最高优先级:
nice -n -20 /sbin/sshd
但默认情况下它也会给子进程(/bin/sh)最高优先级。那么,是否可以为子进程赋予普通优先级(0)而不是最高优先级?
linux openssh nice
linux ×1
nice ×1
openssh ×1