ss(8) improvements by Jiri Popelka <jpopelka@redhat.com>

This commit is contained in:
Petr Sabata 2010-11-29 14:00:37 +01:00 committed by Stephen Hemminger
parent ea71beacac
commit 5d8056357a
1 changed files with 11 additions and 8 deletions

View File

@ -12,6 +12,9 @@ to
It can display more TCP and state informations than other tools. It can display more TCP and state informations than other tools.
.SH OPTIONS .SH OPTIONS
When no option is used ss displays a list of
open non-listening TCP sockets that have established connection.
.TP
These programs follow the usual GNU command line syntax, with long These programs follow the usual GNU command line syntax, with long
options starting with two dashes (`-'). options starting with two dashes (`-').
A summary of options is included below. A summary of options is included below.
@ -29,10 +32,10 @@ Do now try to resolve service names.
Try to resolve numeric address/ports. Try to resolve numeric address/ports.
.TP .TP
.B \-a, \-\-all .B \-a, \-\-all
Display all sockets. Display both listening and non-listening (for TCP this means established connections) sockets.
.TP .TP
.B \-l, \-\-listening .B \-l, \-\-listening
Display listening sockets. Display only listening sockets (these are omitted by default).
.TP .TP
.B \-o, \-\-options .B \-o, \-\-options
Show timer information. Show timer information.
@ -61,22 +64,22 @@ Display only IP version 4 sockets (alias for -f inet).
Display only IP version 6 sockets (alias for -f inet6). Display only IP version 6 sockets (alias for -f inet6).
.TP .TP
.B \-0, \-\-packet .B \-0, \-\-packet
Display PACKET sockets. Display PACKET sockets (alias for -f link).
.TP .TP
.B \-t, \-\-tcp .B \-t, \-\-tcp
Display only TCP sockets. Display TCP sockets.
.TP .TP
.B \-u, \-\-udp .B \-u, \-\-udp
Display only UDP sockets. Display UDP sockets.
.TP .TP
.B \-d, \-\-dccp .B \-d, \-\-dccp
Display only DCCP sockets. Display DCCP sockets.
.TP .TP
.B \-w, \-\-raw .B \-w, \-\-raw
Display only RAW sockets. Display RAW sockets.
.TP .TP
.B \-x, \-\-unix .B \-x, \-\-unix
Display only Unix domain sockets. Display Unix domain sockets (alias for -f unix).
.TP .TP
.B \-f FAMILY, \-\-family=FAMILY .B \-f FAMILY, \-\-family=FAMILY
Display sockets of type FAMILY. Display sockets of type FAMILY.