日常

ケ・セラ・セラ

2015-12-22から1日間の記事一覧

nice, renice コマンドの一例

sh

man によると -20 が優先度MAX, 19 が低い。default 10。 Niceness values range from -20 (most favorable to the process) to 19 (least favorable to the process). こんな風に使う。 $ sleep 10 & [1] 27388 $ renice -n 10 $! 27388 (process ID) old p…