Project

General

Profile

Bug #5381

netstat(1M) and netstat's usage are stale

Added by Rich Ercolani almost 6 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2014-12-02
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

At least one flag (-d, which provides output like the following) is undocumented by either, and I haven't looked at the source, but would bet more are there.

# netstat -d

Destination Cache Entries: IPv4
Address               PMTU   Age  Flags
-------------------- ------ ----- -----
192.168.1.195              0 381869 U
bar.baz.net      0 424084
#1

Updated by Rich Ercolani almost 6 years ago

A quick grep shows:

# diff -urN helpopts sourceopts
--- helpopts    2014-12-03 16:39:57.288969570 -0500
+++ sourceopts     1969-12-31 19:00:00.000000000 -0500
@@ -1,4 +1,5 @@
 -a
+-d
 -D
 -f
 -g
@@ -10,6 +11,8 @@
 -p
 -P
 -r
+-R
 -s
 -T
 -v
+-x

Also available in: Atom PDF