Last active
February 5, 2020 12:48
-
-
Save ezhov-da/9a3a287a38cb0f61e62a3d5c32f19ad7 to your computer and use it in GitHub Desktop.
кто висит на порту
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
netstat -tpln | |
PID_PORT=$(sudo netstat -anpt | grep 1099 | cut -d 'N' -f 2 | cut -d '/' -f 1) && sudo ps -C -p $PID_PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment