<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/netstat/netstat.1, branch stable/14</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>netstat(1): add description for option -o and -O.</title>
<updated>2025-05-07T18:53:06+00:00</updated>
<author>
<name>K Rin</name>
<email>rin@sandb0x.tw</email>
</author>
<published>2025-04-06T18:15:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3de5e282e52c87bd2d17b6e17c483b6f5826922d'/>
<id>3de5e282e52c87bd2d17b6e17c483b6f5826922d</id>
<content type='text'>
Reviewed by: kevans, ziaee, ivy
Approved by: kevans (mentor)
Fixes: fedeb08b6a58 ("Introduce scalable route multipath.")
Fixes: a666325282ea ("Introduce nexthop objects and new routing KPI.")
Pull Request: https://github.com/freebsd/freebsd-src/pull/1643

(cherry picked from commit afa30c5dec5afc8496172a062c93e96d78f5b9b9)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: kevans, ziaee, ivy
Approved by: kevans (mentor)
Fixes: fedeb08b6a58 ("Introduce scalable route multipath.")
Fixes: a666325282ea ("Introduce nexthop objects and new routing KPI.")
Pull Request: https://github.com/freebsd/freebsd-src/pull/1643

(cherry picked from commit afa30c5dec5afc8496172a062c93e96d78f5b9b9)
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat.1: Clarify -d argument</title>
<updated>2024-10-20T14:59:46+00:00</updated>
<author>
<name>Bram</name>
<email>bram@cbbg.nl</email>
</author>
<published>2024-07-17T08:26:50+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=edbeda6b759459a9c2c5e8e12b18294d41959270'/>
<id>edbeda6b759459a9c2c5e8e12b18294d41959270</id>
<content type='text'>
The man page states that the -d flag can be used to show the dropped
packets. But, the number of dropped input packets are always shown,
independent of the -d flag. This commit clarifies that the -d flag will
add the number of dropped output packets to the output.

MFC after: 3 days
Reviewed by: imp, Alexander Ziaee
Pull Request: https://github.com/freebsd/freebsd-src/pull/1332

(cherry picked from commit 1d551845f3e864e618a10ec6427bd46d887d4280)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The man page states that the -d flag can be used to show the dropped
packets. But, the number of dropped input packets are always shown,
independent of the -d flag. This commit clarifies that the -d flag will
add the number of dropped output packets to the output.

MFC after: 3 days
Reviewed by: imp, Alexander Ziaee
Pull Request: https://github.com/freebsd/freebsd-src/pull/1332

(cherry picked from commit 1d551845f3e864e618a10ec6427bd46d887d4280)
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove $FreeBSD$: one-line nroff pattern</title>
<updated>2023-08-16T17:55:15+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-16T17:55:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b2c76c41be32f904179efed29c0ca04d53f3996c'/>
<id>b2c76c41be32f904179efed29c0ca04d53f3996c</id>
<content type='text'>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\.\\"\s*\$FreeBSD\$$\n/
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat(1): fix manpage date</title>
<updated>2023-08-16T14:13:42+00:00</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>2023-08-16T14:13:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3af3571ca5b82a56ae88654ec5cb35acfbe5d12c'/>
<id>3af3571ca5b82a56ae88654ec5cb35acfbe5d12c</id>
<content type='text'>
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat(1): teach netstat to attach to jails</title>
<updated>2023-08-16T13:05:13+00:00</updated>
<author>
<name>Doug Rabson</name>
<email>dfr@FreeBSD.org</email>
</author>
<published>2023-08-14T08:01:28+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=182e8ae26d7cad119bcfce7cc788c1f5cb06e226'/>
<id>182e8ae26d7cad119bcfce7cc788c1f5cb06e226</id>
<content type='text'>
Add -j &lt;jail&gt; flag to netstat(1) to allow access to network information
from a jail.

MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D41446
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add -j &lt;jail&gt; flag to netstat(1) to allow access to network information
from a jail.

MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D41446
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat -i: compute most field widths dynamically</title>
<updated>2023-07-26T15:56:52+00:00</updated>
<author>
<name>Mike Karels</name>
<email>karels@FreeBSD.org</email>
</author>
<published>2023-07-26T15:56:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=372e3d561d82aba7a66fcd4ecb49a4d0a9f69345'/>
<id>372e3d561d82aba7a66fcd4ecb49a4d0a9f69345</id>
<content type='text'>
The network and address fields were sometimes truncated for netstat -i
without -W, and often much too wide for netstat -i with the -W option.
Fields such as normal packet counts often overflowed.  As a result,
columns didn't line up, and large white spaces made it harder to
follow a line across the display.  Change the code to compute the
required field sizes for network, address, and various packet counts.
Hoist the code to format network and address into a subroutine that
can be called twice, once to measure the required field widths,
and once to emit the values.  Use separate field widths for input
and output packets, byte counts, and error and drop counters.
These are left at defaults (the preceding values) with the -h
option, in which case the fields have a limited total width.
An extra space is included between the Network and Address, which
otherwise seemed too close.

Change the mention of -W with -i in the man page to say that most
field widths are computed dynamically in this case.

MFC after:	1 week
Reviewed by:	sjg, glebius
Differential Revision:	https://reviews.freebsd.org/D41160
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The network and address fields were sometimes truncated for netstat -i
without -W, and often much too wide for netstat -i with the -W option.
Fields such as normal packet counts often overflowed.  As a result,
columns didn't line up, and large white spaces made it harder to
follow a line across the display.  Change the code to compute the
required field sizes for network, address, and various packet counts.
Hoist the code to format network and address into a subroutine that
can be called twice, once to measure the required field widths,
and once to emit the values.  Use separate field widths for input
and output packets, byte counts, and error and drop counters.
These are left at defaults (the preceding values) with the -h
option, in which case the fields have a limited total width.
An extra space is included between the Network and Address, which
otherwise seemed too close.

Change the mention of -W with -i in the man page to say that most
field widths are computed dynamically in this case.

MFC after:	1 week
Reviewed by:	sjg, glebius
Differential Revision:	https://reviews.freebsd.org/D41160
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat(1): Use simpler language</title>
<updated>2023-06-26T23:07:27+00:00</updated>
<author>
<name>Tom Hukins</name>
<email>tom@FreeBSD.org</email>
</author>
<published>2023-06-26T23:02:36+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=e495600ce3abd66169e93f763568aeae6969f421'/>
<id>e495600ce3abd66169e93f763568aeae6969f421</id>
<content type='text'>
Reviewed by: imp, Mina Galić
Pull Request: https://github.com/freebsd/freebsd-src/pull/771
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by: imp, Mina Galić
Pull Request: https://github.com/freebsd/freebsd-src/pull/771
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat: document that PCB information can't be read from corefiles</title>
<updated>2023-04-19T10:15:35+00:00</updated>
<author>
<name>Michael Tuexen</name>
<email>tuexen@FreeBSD.org</email>
</author>
<published>2023-04-19T10:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=373b95976bcefe2c4b582d6707efc65bae23ea44'/>
<id>373b95976bcefe2c4b582d6707efc65bae23ea44</id>
<content type='text'>
Reviewed by:		glebius, cc
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D39610
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:		glebius, cc
Sponsored by:		Netflix, Inc.
Differential Revision:	https://reviews.freebsd.org/D39610
</pre>
</div>
</content>
</entry>
<entry>
<title>netstat.1: Clarify -i and -I priorities</title>
<updated>2023-02-18T17:01:34+00:00</updated>
<author>
<name>Fernando Apesteguía</name>
<email>fernape@FreeBSD.org</email>
</author>
<published>2023-02-18T17:00:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=91706f0d6d972c3ff359565e144828dad2a790af'/>
<id>91706f0d6d972c3ff359565e144828dad2a790af</id>
<content type='text'>
netstat(1) allows to specify both -i (all interfaces) and -I &lt;ifname&gt;.
However, when both are specified, -I always overrides -i.
Add a comment where appropriate the same way we do in rm(1) for -f and -i.

PR:		202708
Reported by:	demon@
Approved by:	manpages (pauamma@)
Differential Revision: https://reviews.freebsd.org/D38654
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
netstat(1) allows to specify both -i (all interfaces) and -I &lt;ifname&gt;.
However, when both are specified, -I always overrides -i.
Add a comment where appropriate the same way we do in rm(1) for -f and -i.

PR:		202708
Reported by:	demon@
Approved by:	manpages (pauamma@)
Differential Revision: https://reviews.freebsd.org/D38654
</pre>
</div>
</content>
</entry>
<entry>
<title>Retire trpt(8).</title>
<updated>2022-12-02T22:10:55+00:00</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2022-12-02T22:10:55+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=657729a89dd578d8cfc70d6616f5c65a48a8b33a'/>
<id>657729a89dd578d8cfc70d6616f5c65a48a8b33a</id>
<content type='text'>
trpt(8) was utility to pull TCP debugging data from the kernel
originating back from 4.2BSD.  It is not used nowadays by TCP
developers.  We have more powerful debugging facilities, e.g.
the Dtrace probing, the TCP black box logging and siftr.

Discussed with: rscheff, tuexen, rrs, jtl and others
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
trpt(8) was utility to pull TCP debugging data from the kernel
originating back from 4.2BSD.  It is not used nowadays by TCP
developers.  We have more powerful debugging facilities, e.g.
the Dtrace probing, the TCP black box logging and siftr.

Discussed with: rscheff, tuexen, rrs, jtl and others
</pre>
</div>
</content>
</entry>
</feed>
