From owner-freebsd-stable Tue Oct 23 4:51: 3 2001 Delivered-To: freebsd-stable@freebsd.org Received: from cage.simianscience.com (cage.simianscience.com [64.7.134.1]) by hub.freebsd.org (Postfix) with ESMTP id 1CB2237B403 for ; Tue, 23 Oct 2001 04:51:00 -0700 (PDT) Received: (from root@localhost) by cage.simianscience.com (8.11.6/8.11.6) id f9NBoxs25873; Tue, 23 Oct 2001 07:50:59 -0400 (EDT) (envelope-from mike@sentex.net) Received: from chimp.sentex.net (fcage [192.168.0.2]) by cage.simianscience.com (8.11.6/8.11.6av) with ESMTP id f9NBos625865; Tue, 23 Oct 2001 07:50:54 -0400 (EDT) (envelope-from mike@sentex.net) Message-Id: <5.1.0.14.0.20011023074411.051b1300@192.168.0.12> X-Sender: mdtancsa@192.168.0.12 X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Tue, 23 Oct 2001 07:50:52 -0400 To: "Noor Dawod" From: Mike Tancsa Subject: Re: Knowing how many computers are connected to your server? Cc: "FreeBSD-STABLE Mailing List" In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Scanned: by AMaViS perl-10 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You should ask questions like this on the questions mailing list. netstat -na | grep ESTABLISH You can then use tools like awk to sort and present the list in any way you please. ---Mike At 01:41 PM 10/23/2001 +0200, Noor Dawod wrote: >Hi, > >Sorry if this has been dealt with before... > >In FreeBSD, how can I list how many computers (as opposed to connections >that can be many from one computer) are connected to a specific network >address or port or IP? > >Thanks in advance, > >Noor > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-stable" in the body of the message -------------------------------------------------------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet since 1994 www.sentex.net Cambridge, Ontario Canada www.sentex.net/mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message