How can I listen on a UNIX socket to watch traffic between processes?

Solution Verified - Updated -

Issue

  • A UNIX socket, such as the systemd-journal socket or the socket for Docker or CRI-O is being sent information from a number of processes, and a way to inspect the traffic across this socket is desired.
  • Typical traffic monitoring tools, such as tcpdump, do not work on UNIX sockets.

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Red Hat Enterprise Linux 8

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