To demonstrate the use of nice to set priorities, let's start two copies of the count1.sh script in different subshells at the same time, but give one the maximum niceness of 19.
为了演示如何使用nice设置优先级,首先同时在不同的subshell中启动两个count1. sh脚本的副本,但是将其中一个的nice值设置为最大值19。
To demonstrate the use of nice to set priorities, let's start two copies of the count1.sh script in different subshells at the same time, but give one the maximum niceness of 19.
为了演示如何使用nice设置优先级,首先同时在不同的subshell中启动两个count1. sh脚本的副本,但是将其中一个的nice值设置为最大值19。
应用推荐