I need to execute a set of "piped" commands with altered niceness level. Example:
nice -n 15 command1 | command2 | command3
In this case niceness is altered to "15" only for command1. How to change it for the whole set of commands (command1, command2 and command3)?