Deveria (e fez por mim) mostrar esse aviso se ele está ou não canalizado para o grep. O problema real é a opção -aux
. A manpage diz:
Note that "ps -aux" is distinct from "ps aux". The POSIX and UNIX standards require that "ps -aux" print all processes owned by a user named "x", as well as printing all processes that would be selected by the -a option. If the user named "x" does not exist, this ps may interpret the command as "ps aux" instead and print a warning."