IO priority in linux

When tarring a file, even if the process (Nice) priority is low, sometimes the IO will make the computer unusable, so what you can do it ask Linux to only work on the IO intensive job when there is no other application requiring IO

ionice -c 3 -p $PID

The above class (3) means only if no other application is using this disk

Leave a Reply

Your email address will not be published.