查看linux端口对应的进程id

例如:查看占用4040端口的进程

ss -lptn 'sport = :4040'

猜你喜欢

转载自www.cnblogs.com/gunduzi/p/10761488.html