linux basic commands - kill the process

  • Demand: Docker-Registry always reboot, then there is a look at port 5000 did not kill the process, but can not find the thread in the end is which.
  • Solution:
    enter the administrator privileges
    to use root kill
[root@ldy ~]$ netstat -anp  | grep 5000
tcp6       0      0 :::50000                :::*                    LISTEN      4018/docker-proxy   
[root@ldy ~]$ kill -9 4018

Very sorry, you should also try ps

Published 137 original articles · won praise 79 · views 10000 +

Guess you like

Origin blog.csdn.net/weixin_43404791/article/details/105328041