From owner-freebsd-questions@freebsd.org Tue Nov 10 07:46:02 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 92EF12E60A7 for ; Tue, 10 Nov 2020 07:46:02 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CVg096WXGz3FmP for ; Tue, 10 Nov 2020 07:46:01 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 8A9D1112503 for ; Tue, 10 Nov 2020 14:45:58 +0700 (+07) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=selector1; t=1604994357; x=1606808758; bh=Lt2FB2BGb 0l+uaQ7qIwFrLUrKUKDsbEuvqimywoxw4E=; b=cSsb224no/79yRrPTX9ibyJWo Wl5yx8jPWOaL29NC0BQhGhyIN1wIDhpfXfiHmcx7RMK4iEZZKQ3lF/ia2kjFLwV6 HewFVLhuKBbxWppAIIBD0sGMNz9Lg50knRFlIkndUS30LSYufGGYs0UzAtT7QQa5 iCKIhRYpFp8Yi/zeHM= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 5fAZ9xP3VOMU for ; Tue, 10 Nov 2020 14:45:57 +0700 (+07) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 93E26112501 for ; Tue, 10 Nov 2020 14:45:57 +0700 (+07) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.15.2/8.15.2/Submit) id 0AA7jvs7066646; Tue, 10 Nov 2020 14:45:57 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier To: freebsd-questions@freebsd.org Subject: Re: Socket Statistics In-Reply-To: (message from Paul Procacci on Tue, 10 Nov 2020 02:33:39 -0500) Date: Tue, 10 Nov 2020 14:45:57 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Rspamd-Queue-Id: 4CVg096WXGz3FmP X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cs.ait.ac.th header.s=selector1 header.b=cSsb224n; dmarc=pass (policy=none) header.from=cs.ait.ac.th; spf=pass (mx1.freebsd.org: domain of Olivier.Nicole@cs.ait.ac.th designates 192.41.170.16 as permitted sender) smtp.mailfrom=Olivier.Nicole@cs.ait.ac.th X-Spamd-Result: default: False [-4.70 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cs.ait.ac.th:s=selector1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; TO_DN_NONE(0.00)[]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[cs.ait.ac.th:+]; RCVD_IN_DNSWL_MED(-0.20)[192.41.170.16:from]; DMARC_POLICY_ALLOW(-0.50)[cs.ait.ac.th,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:4767, ipnet:192.41.170.0/24, country:TH]; MAILMAN_DEST(0.00)[freebsd-questions] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Nov 2020 07:46:02 -0000 > ss isn't in base nor am I sure it's available and would compile on any of > the BSD's. > >>From the linux manpage for netstat: > > This program is obsolete. Replacement for *netstat* is *ss*. > > netstat is available, the very utility that linux abandoned. > Thank you all of you for your quick answers. That summarize what I was fearing, it is another thing that Linux has broken... And I cannot use sockstat or lsof unless I modify something I don't really know, because that think is written specifically for the syntax of ss. Best regards, Olivier