From: Petr Sabata <psabata@redhat.com>
To: psabata@redhat.com
Subject: [PATCH] ss(8) improvements by Jiri Popelka <jpopelka@redhat.com>
Date: Mon, 29 Nov 2010 14:00:37 +0100 [thread overview]
Message-ID: <1291035637-15274-1-git-send-email-psabata@redhat.com> (raw)
---
man/man8/ss.8 | 19 +++++++++++--------
1 files changed, 11 insertions(+), 8 deletions(-)
diff --git a/man/man8/ss.8 b/man/man8/ss.8
index 015feb3..f261cf2 100644
--- a/man/man8/ss.8
+++ b/man/man8/ss.8
@@ -12,6 +12,9 @@ to
It can display more TCP and state informations than other tools.
.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
options starting with two dashes (`-').
A summary of options is included below.
@@ -29,10 +32,10 @@ Do now try to resolve service names.
Try to resolve numeric address/ports.
.TP
.B \-a, \-\-all
-Display all sockets.
+Display both listening and non-listening (for TCP this means established connections) sockets.
.TP
.B \-l, \-\-listening
-Display listening sockets.
+Display only listening sockets (these are omitted by default).
.TP
.B \-o, \-\-options
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).
.TP
.B \-0, \-\-packet
-Display PACKET sockets.
+Display PACKET sockets (alias for -f link).
.TP
.B \-t, \-\-tcp
-Display only TCP sockets.
+Display TCP sockets.
.TP
.B \-u, \-\-udp
-Display only UDP sockets.
+Display UDP sockets.
.TP
.B \-d, \-\-dccp
-Display only DCCP sockets.
+Display DCCP sockets.
.TP
.B \-w, \-\-raw
-Display only RAW sockets.
+Display RAW sockets.
.TP
.B \-x, \-\-unix
-Display only Unix domain sockets.
+Display Unix domain sockets (alias for -f unix).
.TP
.B \-f FAMILY, \-\-family=FAMILY
Display sockets of type FAMILY.
--
1.7.3.2
reply other threads:[~2010-11-29 13:03 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1291035637-15274-1-git-send-email-psabata@redhat.com \
--to=psabata@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).