Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
77d0c1b2
Commit
77d0c1b2
authored
Sep 15, 2012
by
Bernd Eckenfels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Deprecated netstat, made usage with --inet/--inet6 clear.
parent
6970e0bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
man/en_US/netstat.8
man/en_US/netstat.8
+18
-14
No files found.
man/en_US/netstat.8
View file @
77d0c1b2
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
.\" Modified: Brian Micek bmicek@gmail.com
.\" Modified: Brian Micek bmicek@gmail.com
.\"
.\"
.\"
.\"
.TH NETSTAT 8 "201
1\-01\-27
" "net\-tools" "Linux System Administrator's Manual"
.TH NETSTAT 8 "201
2\-09\-15
" "net\-tools" "Linux System Administrator's Manual"
.SH NAME
.SH NAME
netstat \- Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
netstat \- Print network connections, routing tables, interface statistics, masquerade connections, and multicast memberships
...
@@ -81,9 +81,9 @@ netstat \- Print network connections, routing tables, interface statistics, masq
...
@@ -81,9 +81,9 @@ netstat \- Print network connections, routing tables, interface statistics, masq
.P
.P
.IR address_family_options :
.IR address_family_options :
.PP
.PP
.RB [ -4 ]
.RB [ -4
| \-\-inet
]
.RB [ -6 ]
.RB [ -6
| \-\-inet6
]
.RB [ \-\-protocol= { inet ,
unix , ipx , ax25 , netrom , ddp }[, ...] ]
.RB [ \-\-protocol= { inet ,
inet6 , unix , ipx , ax25 , netrom , ddp ", ... } ]"
.RB [ \-\-unix | \-x ]
.RB [ \-\-unix | \-x ]
.RB [ \-\-inet | \-\-ip | \-\-tcpip ]
.RB [ \-\-inet | \-\-ip | \-\-tcpip ]
.RB [ \-\-ax25 ]
.RB [ \-\-ax25 ]
...
@@ -95,6 +95,13 @@ netstat \- Print network connections, routing tables, interface statistics, masq
...
@@ -95,6 +95,13 @@ netstat \- Print network connections, routing tables, interface statistics, masq
.RB [ \-\-ddp | \-\-appletalk ]
.RB [ \-\-ddp | \-\-appletalk ]
.RB [ \-\-econet | \-\-ec ]
.RB [ \-\-econet | \-\-ec ]
.SH NOTES
This program is obsolete.
Replacement for \fBnetstat\fR is \fBss\fR.
Replacement for \fBnetstat -r\fR is \fBip route\fR.
Replacement for \fBnetstat -i\fR is \fBip -s link\fR.
Replacement for \fBnetstat -g\fR is \fBip maddr\fR.
.SH DESCRIPTION
.SH DESCRIPTION
.B Netstat
.B Netstat
prints information about the Linux networking subsystem. The type of
prints information about the Linux networking subsystem. The type of
...
@@ -148,6 +155,7 @@ protocols) for which connections are to be shown.
...
@@ -148,6 +155,7 @@ protocols) for which connections are to be shown.
.I family
.I family
is a comma (',') separated list of address family keywords like
is a comma (',') separated list of address family keywords like
.BR inet ,
.BR inet ,
.BR inet6 ,
.BR unix ,
.BR unix ,
.BR ipx ,
.BR ipx ,
.BR ax25 ,
.BR ax25 ,
...
@@ -156,8 +164,9 @@ is a comma (',') separated list of address family keywords like
...
@@ -156,8 +164,9 @@ is a comma (',') separated list of address family keywords like
and
and
.BR ddp .
.BR ddp .
This has the same effect as using the
This has the same effect as using the
.BR \-\-inet ,
.BR \-\-inet | -4 ,
.BR \-\-unix " (" \-x ),
.BR \-\-inet6 | -6 ,
.BR \-\-unix | -x ,
.BR \-\-ipx ,
.BR \-\-ipx ,
.BR \-\-ax25 ,
.BR \-\-ax25 ,
.BR \-\-netrom ,
.BR \-\-netrom ,
...
@@ -167,7 +176,7 @@ options.
...
@@ -167,7 +176,7 @@ options.
.P
.P
The address family
The address family
.B inet
.B inet
includes raw, udp, udplite and tcp protocol sockets.
(Iv4)
includes raw, udp, udplite and tcp protocol sockets.
.SS "\-c, \-\-continuous"
.SS "\-c, \-\-continuous"
This will cause
This will cause
.B netstat
.B netstat
...
@@ -375,13 +384,6 @@ to the socket.
...
@@ -375,13 +384,6 @@ to the socket.
.SS Active AX.25 sockets
.SS Active AX.25 sockets
(this needs to be done by somebody who knows it)
(this needs to be done by somebody who knows it)
.PP
.PP
.SH NOTES
Starting with Linux release 2.2
.B netstat \-i
does not show interface statistics for alias interfaces. To get per
alias interface counters you need to setup explicit rules using the
.BR iptables(8)
command.
.SH FILES
.SH FILES
.ta
.ta
...
@@ -452,6 +454,8 @@ status information via the following files.
...
@@ -452,6 +454,8 @@ status information via the following files.
.BR ifconfig (8),
.BR ifconfig (8),
.BR iptables (8),
.BR iptables (8),
.BR proc (5)
.BR proc (5)
.BR ss (8)
.BR ip (8)
.P
.P
.SH BUGS
.SH BUGS
Occasionally strange information may appear if a socket changes
Occasionally strange information may appear if a socket changes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment