原文(source): 設定優先權(nice, renice) | Tsung's Blog
程式要執行很久的話, 可以調一下優先權, 看能不能快點結束~
nice [-20 ~ 19] program (-20 是最高優先權, 19 是最低)
已經執行的程式, 可以用 renice 調整.
renice -19 PID
原文(source): 設定優先權(nice, renice) | Tsung's Blog
程式要執行很久的話, 可以調一下優先權, 看能不能快點結束~
nice [-20 ~ 19] program (-20 是最高優先權, 19 是最低)
已經執行的程式, 可以用 renice 調整.
renice -19 PID
原文(source): How To Avoid Sudden Outburst Of Backup Shell Script / Program Disk I/O
A sudden outburst of violent disk I/O activity can bring down mail or web server. Usually, a web / mysql or mail server serving millions and millions pages per months are prone to this kind of problem. Backup activity can increase current system load from usual 5 to 20 (or more).