From: Ron Johnson on
On 06/20/2010 10:27 AM, Huang, Tao wrote:
> On Sun, Jun 20, 2010 at 6:32 PM, Stan Hoeppner<stan(a)hardwarefreak.com> wrote:
>> Ron Johnson put forth on 6/20/2010 1:58 AM:
>>
>>> $ netstat -an | grep ^tcp\ | grep -v LISTEN | wc -l
>>> 111
>>
>> You might get a more accurate count of BitTorrent connections with:
>>
>> netstat -an | grep ^tcp\ | grep ":"[6][8,9][0-9][0-9] | grep -c -v LISTEN
>
> "netstat -atn" instead of "netstat -an | grep ^tcp\"
> :p
>

Nope, since that also returns tcp6 packets. This does it simplest:
$ netstat -ant4

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C1E6461.2040208(a)cox.net
From: Huang, Tao on
On Mon, Jun 21, 2010 at 2:56 AM, Ron Johnson <ron.l.johnson(a)cox.net> wrote:
[snip]
> Nope, since that also returns tcp6 packets.  This does it simplest:
> $ netstat -ant4

so you are not taking use of ipv6 p2p.


Tao


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTimVmp4tnf7tbBfaA119pfKVylNEpiZ5LkqqkKB6(a)mail.gmail.com
From: Ron Johnson on
On 06/20/2010 08:07 PM, Huang, Tao wrote:
> On Mon, Jun 21, 2010 at 2:56 AM, Ron Johnson<ron.l.johnson(a)cox.net> wrote:
> [snip]
>> Nope, since that also returns tcp6 packets. This does it simplest:
>> $ netstat -ant4
>
> so you are not taking use of ipv6 p2p.
>

Should I be? After all, my ISP only uses IPv4 for consumer HSI.

--
Seek truth from facts.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/4C1EC029.5020906(a)cox.net