Last active
December 11, 2017 15:14
-
-
Save pierophp/dd2ab1ab8f0ed3c4c963 to your computer and use it in GitHub Desktop.
Pegando pid pela porta do MySQL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps aux | grep $(sudo lsof -i tcp -nP | grep "15245 (" | head -n 1 | awk '{print $2}') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment