Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何为在我们设置的优先级下运行的任何用户设置特定应用程序/程序的默认优先级?
将程序包装到 shell 脚本中,让您的用户运行它而不是原始程序:
#!/bin/sh nice -10 path/to/the/program/executable "$@"