码迷,mamicode.com
首页 > 系统相关 > 详细

Check the port occupy on Mac OSX

时间:2019-10-06 18:21:04      阅读:116      评论:0      收藏:0      [点我收藏+]

标签:name   ice   tin   size   table   type   RoCE   ESS   exec   

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 pscommand you can find with

man ps

Check the port occupy on Mac OSX

标签:name   ice   tin   size   table   type   RoCE   ESS   exec   

原文地址:https://www.cnblogs.com/sonictl/p/11627799.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!