Bug 188153 - Interface name in the netstat(1) command is displayed as the first 7 characters, and the rest is cut off
Summary: Interface name in the netstat(1) command is displayed as the first 7 characte...
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-01 02:10 UTC by Vladyslav V. Prodan
Modified: 2023-01-05 01:45 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladyslav V. Prodan 2014-04-01 02:10:03 UTC
I created more than a hundred Vlan using netgraph.
But I can not see the name of the interface, even with the option -W, because the interface name is truncated to 7 characters.

# netstat -inW | more
Name      Mtu Network       Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll
..
vlan122  1500 <Link#9>      08:00:27:cd:9b:8e        0     0     0        0     0     0
ngeth12  1500 <Link#10>     08:00:27:cd:9b:8e        0     0     0        0     7     0
ngeth12     - 172.18.173.41 172.18.173.41            0     -     -        0     -     -
ngeth12     - fe80::a00:27f fe80::a00:27ff:fe        0     -     -        2     -     -
ngeth12     - 2001:570:28:1 2001:570:28:140::        0     -     -        0     -     -
ngeth12  1500 <Link#11>     08:00:27:cd:9b:8e        0     0     0        0     7     0
ngeth12     - 172.18.173.43 172.18.173.43            0     -     -        0     -     -
ngeth12     - fe80::a00:27f fe80::a00:27ff:fe        0     -     -        1     -     -
ngeth12     - 2001:570:28:1 2001:570:28:140::        0     -     -        0     -     -
ngeth12  1500 <Link#12>     08:00:27:cd:9b:8e        0     0     0        0     9     0
ngeth12     - 2001:570:28:1 2001:570:28:140::        0     -     -        0     -     -
ngeth12     - fe80::a00:27f fe80::a00:27ff:fe        0     -     -        2     -     -
ngeth12     - 172.18.173.45 172.18.173.45            0     -     -        0     -     -
..

# ifconfig | grep mtu | more
..
vlan122: flags=8842<BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.50: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.51: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.52: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.53: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.54: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.55: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.56: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.57: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.58: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.59: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.60: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.61: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.62: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.63: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.64: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.65: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.66: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.67: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.68: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.69: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.70: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ngeth122.71: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
..
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:40 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped