Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions man/en_US/netstat.8
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,22 @@ which gives access to kernel status information via the following files.
.I /proc/net/snmp
-- statistics

.SH EXAMPLES
List all open TCP and UDP ports, with the corresponding process's PID. This lets you answer "which process is listening on port 8080?":
.RS
.nf
\fBnetstat -tulpn\fR
.fi
.RE

.P
Show the route table (it's often best to pass -n to display IP addresses rather than hostnames):
.RS
.nf
\fBnetstat -rn\fR
.fi
.RE

.SH BUGS
Occasionally strange information may appear if a socket changes
as it is viewed. This is unlikely to occur.
Expand Down