netstat命令查看端口是否占用

来源:互联网 发布:linux 声卡驱动安装 编辑:程序博客网 时间:2024/06/06 08:33

Windows:

       C:> netstat -ano

可以查出pid

 

AIX:

    #netstat –Aan | grep 8083

   # rmsock f100060000484b98 tcpcb

 

Linux:

   #netstat -anp | grep 8083

   # ps -ef | grep pid