Re: socket file descriptor a/m/c-timestamps broken in <= 3.8.8?

From: Eric Dumazet
Date: Mon Apr 22 2013 - 20:37:43 EST


On Tue, 2013-04-23 at 00:30 +0000, Eric Wong wrote:
> Cc:-ing netdev (no comments of my own)
>
> Felix Becker <mail@xxxxxxxxxxxxxxxx> wrote:
> > Hi,
> >
> > I tried to figure out how old my TCP connections are and took a look
> > at /proc/<pid>/fd/<socketfdnum> using 'ls -la' / 'stat'.
> >

Thanks, but its not a network issue, /proc/pid/fd are part of another
subsystem.

In particular, a/m/c timestamps are volatile (not meaningfull), as you
can make them disappear by
"echo 3 >/proc/sys/vm/drop_caches"

Next time you use "ls /proc/pid/fd/..." timestamps are created.



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/