Below is command to run process with the least CPU and IO priority.
nice -n 19 ionice -c 3 <command>You could also include the same in the beginning of the script:
#!/bin/bash<br /># Make process nice<br />renice +19 -p $$ >/dev/null 2>&1<br />ionice -c3 -p $$ >/dev/null 2>&1References:
Похожие записи: