亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定

nice命令在centOS7下不能正常使用

http://img1.sycdn.imooc.com//5822918c00011a0806260310.jpg

在CentOS 7版本上nice命令并沒有修改其優先級,請問是nice命令失效了還是什么其他原因?

正在回答

1 回答

man nice 的結果

NAME
?????? nice - run a program with modified scheduling priority

SYNOPSIS
?????? nice [OPTION] [COMMAND [ARG]...]

DESCRIPTION
?????? Run? COMMAND? with? an? adjusted niceness, which affects process scheduling.? With no COMMAND, print the current niceness.? Niceness values
?????? range from -20 (most favorable to the process) to 19 (least favorable to the process).

?????? Mandatory arguments to long options are mandatory for short options too.

?????? -n, --adjustment=N
????????????? add integer N to the niceness (default 10)


The? full documentation for nice is maintained as a Texinfo manual.? If the info and nice programs are properly installed at your site, the
?????? command

????????????? info coreutils 'nice invocation'


我執行 nice -n -10 service httpd start?? 的結果為

We are no longer a registered authentication agent.


不過nice這個優先級修改的效果不明顯,不要糾結了

0 回復 有任何疑惑可以回復我~
#1

慕沐5825658 提問者

非常感謝?。。?/div>
2016-11-13 回復 有任何疑惑可以回復我~

舉報

0/150
提交
取消

nice命令在centOS7下不能正常使用

我要回答 關注問題
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號