1 2 3 4 5 6
#!/bin/sh NICE='nice -n 19' IONICE='ionice -c 2 -n 7' exec ${IONICE} ${NICE} updatedb -f proc