Total Pageviews

Sunday 31 January 2016

查看占用某端口号的进程

netstat –tlnp
列出本机进程监听的端口号。(注:netstat -anop 可以显示侦听在这个端口号的进程)
lsof –i:port_number