Centos checks the process corresponding to the pid

Check the occupancy of this port; 16923 is pid
netstat -anp|grep 16923


View the detailed information of the process of the pid
ps -ef|grep 16923

Guess you like

Origin blog.csdn.net/tiging/article/details/130590673