From owner-freebsd-questions@freebsd.org Tue Nov 10 08:31:29 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 D43B22E6ECA for ; Tue, 10 Nov 2020 08:31:29 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4CVh0d0Q93z3HmC for ; Tue, 10 Nov 2020 08:31:28 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1kcOym-000395-Od for freebsd-questions@freebsd.org; Tue, 10 Nov 2020 09:26:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ottavio Caruso Subject: Re: Socket Statistics Date: Tue, 10 Nov 2020 08:26:10 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 In-Reply-To: Content-Language: en-GB Cc: freebsd-ports@freebsd.org X-Rspamd-Queue-Id: 4CVh0d0Q93z3HmC X-Spamd-Bar: ++++++++ X-Spamd-Result: default: False [9.00 / 15.00]; FREEMAIL_FROM(0.00)[yahoo.com]; MV_CASE(0.50)[]; HFILTER_HOSTNAME_5(3.00)[static.214.254.202.116.clients.your-server.de]; TO_DN_NONE(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_REJECT(2.00)[yahoo.com : SPF not aligned (relaxed), No valid DKIM,reject]; FORGED_SENDER(0.30)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[116.202.254.214:from]; MIME_TRACE(0.00)[0:+]; FORGED_MUA_THUNDERBIRD_MSGID_UNKNOWN(2.50)[]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FROM_NEQ_ENVFROM(0.00)[ottavio2006-usenet2012@yahoo.com,freebsd-questions@m.gmane-mx.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_SPAM_MEDIUM(1.00)[0.998]; SPAMHAUS_ZRD(0.00)[116.202.254.214:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000]; RCVD_COUNT_TWO(0.00)[2]; GREYLIST(0.00)[pass,body]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes 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 08:31:29 -0000 [X-posted to ports@] On 10/11/2020 07:25, Olivier wrote: > Hello, > > I am playing with a product needs the sommand [sic] socket statitics (ss). > > It's a command that seems to be installed by default in Linux, do you > know where I can get it for FreeBSD? ss is in the iproute2 package on Debian: https://wiki.linuxfoundation.org/networking/iproute2 I wonder if one could make a FreeBSD port out of it, as it might use Linux kernel specific calls. -- Ottavio Caruso