updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / ioniced / ioniced.install
blob1f822c4aecc94775127bdae040b0e1b3a2ff7eb7
1 post_install() {
2   echo " "
3   echo " "
4   echo "ATTENTION ioniced:"
5   echo "------------------"
6   echo " "
7   echo "To make it short, this daemon re-prioritizes your disk I/O operations based"
8   echo "on a given list of process IDs, and you NEED to have the Kernel CFQ scheduler"
9   echo "enabled to use it."
10   echo " " 
11   echo "To configure it, edit the 'ionice_these' line in /sbin/ioniced and add the"
12   echo "processes you want to ionice and their priority (should be self-explaining)."
13   echo " "
14   echo "There are three levels of io-niceness:"
15   echo " "
16   echo "1: real time   -> DONT use this unless you know what you are doing"
17   echo "2: best effort -> default setting"
18   echo "3: idle        -> lowest priority"
19   echo " "
20   echo "You can use the command 'iops' to check out the I/O priority of your processes."
21   echo " "
22   echo "This is experimental and you SHOULD edit and understand /sbin/ioniced before"
23   echo "starting it... YOU HAVE BEEN WARNED!"
24   echo " "
25   echo " "
28 op=$1
29 shift
30 $op $*