When I do ps -A
, it shows me all running process but not the one which I want to kill.
But the process which I want to kill its shows PID
ps aux | grep -i resourcemanager
show below output
hduser 20155 0.0 0.0 14228 984 pts/5 S+ 21:37 0:00 grep --color=auto -i resourcemanager
When I kill, pkill resourcemanager
, and run the same command to check whether resourcemanager is running or not, it shows again with new PID. But never shows up in ps -A
command output.
Can anyone help, What's wrong happening ..?
ps aux | grep -i resourcemanager
is the grep process itself – steeldriver Sep 15 '19 at 16:14grep --color=auto -i resourcemanager
at the end? – steeldriver Sep 15 '19 at 16:30