Why hyphen ( - ) is seen in the "PID/Programe name" column in the "netstat" output for "TIME_WAIT" connections in Red Hat Enterprise Linux ?

Solution Verified - Updated -

Issue

  • Why do we see - in the PID/Programe name column in below output for TIME_WAIT connections ?
# netstat -nap 
Proto Recv-Q Send-Q Local Address               Foreign Address             State   PID/Program name
tcp        0      0 192.X.X.X:17800         192.X.X.X:22153         TIME_WAIT   -
tcp        0      0 192.X.X.X:38283         192.X.X.X:17805         ESTABLISHED 987/httpd.worker
tcp        0      0 192.X.X.X:38278          192.X.X.X:17805        ESTABLISHED 933/httpd.worker
tcp        0      0 192.X.X.X:1055           10.X.X.X:4336          TIME_WAIT   -
tcp        0      0 192.X.X.X:38323          192.X.X.X:17805        ESTABLISHED 32448/httpd.worker
tcp        0      0 192.X.X.X:37902           192.X.X.X:17805       TIME_WAIT   -
tcp        0      0 192.X.X.X:37928          192.X.X.X:17805        ESTABLISHED 542/httpd.worker
tcp        0      0 192.X.X.X:38114          192.X.X.X:17805        TIME_WAIT   -
tcp        0      0 192.X.X.X:38045          192.X.X.X:17805        ESTABLISHED 594/httpd.worker
tcp        0      0 192.X.X.X:38043           192.X.X.X:17805       TIME_WAIT   -
tcp        0      0 192.X.X.X:38022          192.X.X.X:17805        TIME_WAIT   -
tcp        0      0 192.X.X.X:38072         192.X.X.X:17805         TIME_WAIT   -
tcp        0      0 192.X.X.X:38067         192.X.X.X:17805         TIME_WAIT   -
tcp        0      0 192.X.X.X:20802              192.X.X.X:35225        TIME_WAIT   -

Environment

  • Red Hat Enterprise Linux (All Versions)

  • Netstat utility.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content