Project

General

Profile

Actions

Bug #5381

open

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

Added by Rich Ercolani almost 9 years ago. Updated almost 9 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:
External Bug:

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
Actions #1

Updated by Rich Ercolani almost 9 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
Actions

Also available in: Atom PDF