[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <31436f4a0906290737w7eba05a7r5e2ab96b4b2838a2@mail.gmail.com>
Date: Mon, 29 Jun 2009 17:37:23 +0300
From: David Shwatrz <dshwatrz@...il.com>
To: netdev@...r.kernel.org
Cc: dada1@...mosbay.com
Subject: Inconsistency in number of Unix sockets
Hello,
On kernel 2.6.29.4-167: (Fedora 11):
Why is this inconsistency in number of Unix sockets, when running the following:
cat /proc/net/protocols | grep UNIX
UNIX 432 986 -1 ....
lsof -U | wc -l
989
netstat --unix | wc -l
906
cat /proc/net/unix | wc -l
986
On which of this statistics should we rely when we want to know how
many Unix Domain sockets do we have ? There is a variable named unix_nr_socks,
but AFAIK, the patch which used it (for /proc/net/protocols ) was
reverted lately.
commit 1748376b6626acf59c24e9592ac67b3fe2a0e026
by Eric Dumazet <dada1@...mosbay.com>
Regards,
DS
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists