From nobody Thu Jun 30 15:16:28 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C0ECA87AF7F for ; Thu, 30 Jun 2022 15:17:00 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4LYhkz2y8Wz3KB2 for ; Thu, 30 Jun 2022 15:16:59 +0000 (UTC) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1]) by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 25UFGS1X090127; Thu, 30 Jun 2022 08:16:28 -0700 (PDT) (envelope-from freebsd-rwg@gndrsh.dnsmgr.net) Received: (from freebsd-rwg@localhost) by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 25UFGSrM090126; Thu, 30 Jun 2022 08:16:28 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <202206301516.25UFGSrM090126@gndrsh.dnsmgr.net> Subject: Re: Netstat -i 5-character interface name length? In-Reply-To: <0843509a-fe0c-ffe8-2cfe-534872bc33bd@sentex.net> To: mike tancsa Date: Thu, 30 Jun 2022 08:16:28 -0700 (PDT) CC: Chris Ross , freebsd-net@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4LYhkz2y8Wz3KB2 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF policy when checking 69.59.192.140) smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net X-Spamd-Result: default: False [-1.00 / 15.00]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.90)[-0.903]; TAGGED_RCPT(0.00)[freebsd]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MLMMJ_DEST(0.00)[freebsd-net]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N [ Charset UTF-8 unsupported, converting... ] > On 6/29/2022 10:56 AM, Chris Ross wrote: > > Hello folks. ?I just noticed something that I?m sure has been true > > forever, but I checked and it?s still true on my 12.3-STABLE system. > > > One of the first local mods I do is alias netstat to netstat -W for this > reason. e.g. > alias netstat?? netstat -W > > in /etc/csh.cshrc That only fixes it for your interactive csh processes, the original poster had specifically mentioned output from periodic scrips, aka daily iirc. One thing that can be done to mitigate the long vlan dev name (imho the vlan driver should of just named itself much short, like "vl", as most network devices are 2 litter names anyway) is to use the "name" option of ifconfig to give them a better name than the default. ifconfig vlan2 create vlandev em0 vlan 2 name v2 -- Rod Grimes rgrimes@freebsd.org