Re: /proc reliability & performance

From: Willy Tarreau
Date: Sat Oct 18 2003 - 01:40:15 EST


On Fri, Oct 17, 2003 at 02:10:40AM -0700, David S. Miller wrote:
> On Fri, 17 Oct 2003 10:01:53 +0200
> "dada1" <dada1@xxxxxxxxxxxxx> wrote:
>
> > A "cat /proc/net/tcp" takes too much time to even try it. :(
> >
> > tools like "netstat" or "lsof", (even with -n flag) are just unusable.
>
> Because they don't use the netlink TCP socket dumping
> facility which is made to handle such things much better
> than procfs ever can.

Hmmm very interesting. And is there an equivalent replacement for
/proc/net/ip_conntrack ? And if not, what would be needed to implement it ?

Willy

-
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/