MySQL Forums
Forum List  »  Newbie

Re: Mysql unistall but a process still running (Ubuntu)
Posted by: Phillip Ward
Date: November 22, 2021 06:34AM

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.

Options: ReplyQuote


Subject
Written By
Posted
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.