ps axuw| grep mysql
indicates only MySQL process, but if I run htop I can see 10 rows each one of them with a separate PID. So I wonder if they are threads or proce
I was seeking for MySQL config stuff, then I saw this question.... Nothing to do with MySQL, am I right ?
If the main objective is to see the result of a custom command, you can use "watch" with the following syntax (available on most linux systems) :
watch "ps axuw| grep mysql"
It will run the command each 2 seconds and display the output, it is a very very useful command.
-> See the doc/man to see how it's powerful ;)