Ive realised that some applications are too much demanding and blocking so ive to adjust ionice/renice to be able to continue with
my other activities, which is very annoying, so I saw "and" which seems to deal with this problem in an automatic way.
AND:
I understand that by usind "and", i wouldnt need to add decreasing pritority lines to my sripts; is This right??The auto nice daemon activates itself in certain intervals and renices
and even kills jobs according to their priority and CPU usage.
Renice levels and kill signals can be defined in terms of users,
groups, and commands. Wildcards can be specified for any of these.
Jobs owned by root are left alone. Jobs are never increased in their
priority.
Code: Select all
#!/bin/bash
#
ionice -c2 -n7 -p$$
renice +15 -p $$
....