How do I tell where an outgoing connection comes from when netstat does not show a PID?

Solution Verified - Updated -

Issue

  • How do I tell where an outgoing connection comes from when netstat does not show a PID?
  • Running netstat -p or similar, the PID field contains just -. What is making this connection?
  • How to tell which kernel thread is responsible for opening which socket?

Environment

  • Red Hat Enterprise Linux
  • Network connections

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