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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.