为什么 netstat -p 不显示已建立连接的 PID?

为什么 netstat -p 不显示已建立连接的 PID?

我有一些 REST 服务正在监听 tcp/8051
我正在curl从同一主机以无限循环方式查询此服务:
while true; do curl --header "Authorization: Bearer NDkwMjM3NzEtN2U2NS00ZDVkLThhYzItOThmZTliODljNWJj" -k "https://x.x.7.131:8051/status/service"; done

在其他窗口中,我正在检查连接netstat(在根目录下):
while true; do netstat -antep |grep :8051 && echo ""; done

输出netstat

tcp        0      0 x.x.7.131:8051          0.0.0.0:*               LISTEN      508        1150035894 48623/java
tcp        0      0 x.x.7.131:8051          x.x.7.131:47858         ESTABLISHED 508        1150589130 -
tcp        0      0 x.x.7.131:8051          x.x.7.131:47860         ESTABLISHED 508        1150589177 -

tcp        0      0 x.x.7.131:8051          0.0.0.0:*               LISTEN      508        1150035894 48623/java
tcp        0      0 x.x.7.131:8051          x.x.7.131:47898         ESTABLISHED 508        1150590086 -
tcp        0      0 x.x.7.131:8051          x.x.7.131:47905         ESTABLISHED 508        1150590252 -
tcp        0      0 x.x.7.131:8051          x.x.7.131:47907         ESTABLISHED 508        1150590301 -
tcp        0      0 x.x.7.131:47911         x.x.7.131:8051          ESTABLISHED 508        1150590389 -

tcp        0      0 x.x.7.131:8051          0.0.0.0:*               LISTEN      508        1150035894 48623/java
tcp        0      0 x.x.7.131:47925         x.x.7.131:8051          ESTABLISHED 508        1150590821 -
tcp        0      0 x.x.7.131:47933         x.x.7.131:8051          ESTABLISHED 508        1150590965 -

tcp        0      0 x.x.7.131:8051          0.0.0.0:*               LISTEN      508        1150035894 48623/java
tcp        0      0 x.x.7.131:47976         x.x.7.131:8051          ESTABLISHED 508        1150591963 -
tcp        0      0 x.x.7.131:47977         x.x.7.131:8051          ESTABLISHED 508        1150591986 -
tcp        0      0 x.x.7.131:47991         x.x.7.131:8051          ESTABLISHED 508        1150592211 -

为什么我看不到 PID?
操作系统:RHEL6.6

相关内容