Check the port occupy on Mac OSX
Posted sonictl
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Check the port occupy on Mac OSX相关的知识,希望对你有一定的参考价值。
Check the port occupy on Mac OSX
lsof -i :7070
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sivoxy 64888 wgg 6u IPv4 0x6ddd270 0t0 TCP *:gds_db (LISTEN)
We have the PID of that app occupying port.
Locating the executable file of that PID
ps xuwww -p PID
PID (64888) is the process id you are looking. for More help on ps
command you can find with
man ps
以上是关于Check the port occupy on Mac OSX的主要内容,如果未能解决你的问题,请参考以下文章