Re: Mysql unistall but a process still running (Ubuntu)
Quote
But when I check, a process still running with mysql: ps -aux | grep MySQL
user 437 0.0 0.0 8164 724 pts/0 S+ 16:13 0:00 grep --color=auto MySQL
Remember that
grep also runs as a process that shows up in the Process List!
Try this instead:
ps -aux | grep MySQL | grep -v $$
The shell expands $$ to the current PID, so this effectively excludes the
grep process from the results.
Regards, Phill W.
Subject
Written By
Posted
November 21, 2021 05:59PM
November 21, 2021 08:50PM
November 22, 2021 05:25AM
December 03, 2021 01:25PM
December 03, 2021 03:14PM
Re: Mysql unistall but a process still running (Ubuntu)
November 22, 2021 06:34AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.