RHEL: How do I log the creation and termination of sockets

Solution In Progress - Updated -

Issue

  • Socket creation time can be determined by finding the creation time of the associated inode but there is no record of when the socket is closed. In addition if the socket is created and closed faster than the poll time of the script monitoring the inodes no record will be created at all.

Environment

  • Red Hat Enterprise Linux 6

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