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
In Section
Seekers of Perl Wisdom