netstat for AIX 6.1

时间:2017-11-02 09:12:51

标签: unix networking aix

有没有办法基于AIX Box上的pid grep网络状态?

我想知道下面的命令是否合理等效

netstat -anp | grep 2767
tcp        0      0 :::47801                    :::*                        LISTEN      2767/java
tcp        0      0 :::33830                    :::*                        LISTEN      2767/java
tcp        0      0 :::8009                     :::*                        LISTEN      2767/java
tcp        0      0 :::8080                     :::*                        LISTEN      2767/java
tcp        0      0 ::ffff:15.213.27.40:60373   ::ffff:15.213.27.21:22      ESTABLISHED 2767/java
tcp        0      0 ::ffff:15.213.27.40:35040   ::ffff:15.213.27.99:22      ESTABLISHED 2767/java

2767是processId

0 个答案:

没有答案