How can I find out at what time a currently open TCP connection was established on Linux?
I was able to use lsof to get the file descriptor, then ran stat /proc/<PID>/fd/<file descriptor> to get the date.
stat /proc/<PID>/fd/<file descriptor>
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
4 years ago
2 years ago