![Forrest logo](/images/logo.png)
conntrack:tldr:c61a9
The conntrack command is used to examine and interact with the connection tracking system in the Linux kernel. It allows you to view and modify the state of network connections being tracked.
The --event
option is used to display real-time events related to the connection tracking. It shows events such as connection creation, deletion, modification, etc. This can be useful for monitoring network traffic and debugging network issues.
The -o timestamp
option is used to include a timestamp with each event displayed. It adds the current date and time to the event output, providing a chronological reference for each event.
By combining both options, conntrack --event -o timestamp
will continuously display connection tracking events in real-time, with a timestamp for each event.