Remove "grep" From "ps|grep" output
If you encase one of the letters of the process name in square brackets, grep won’t match itself in the process list:
ps aux | grep [p]rocess-name
If you encase one of the letters of the process name in square brackets, grep won’t match itself in the process list:
ps aux | grep [p]rocess-name