http://www.perlmonks.org?node_id=721251


in reply to CFQ / ionice ?

If you are on Linux with CFQ/ionice installed, it is easy to invoke ionice through the shell:
my $sched_class = 3; my $pid = 89; system "/usr/bin/ionice -c$sched_class -p$pid";

-Mark