Stop grepping ps output for processes
If you’re piping ps aux to grep to find a process, pgrep -fla is probably the tool you’re looking for
[user@host ~]$ pgrep -fla nginx
6584 nginx: master process nginx -g daemon off;
7173 nginx: worker process
7174 nginx: worker process
7175 nginx: worker process
7176 nginx: worker process
7177 nginx: worker process
7178 nginx: worker process
7179 nginx: worker process
7180 nginx: worker process