* [PATCH 0/3] iproute2: various usage and doc fixes
@ 2011-10-06 12:45 Petr Sabata
2011-10-06 12:45 ` [PATCH 1/3] iproute2: ss - fix missing parameters Petr Sabata
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Petr Sabata @ 2011-10-06 12:45 UTC (permalink / raw)
To: netdev; +Cc: Petr Sabata
Petr Sabata (3):
iproute2: ss - fix missing parameters
iproute2: lnstat - fix typos
iproute2: arpd - fix usage and manpage options
man/man8/arpd.8 | 4 ++--
man/man8/ss.8 | 4 ++--
misc/arpd.c | 2 +-
misc/lnstat.c | 4 ++--
misc/ss.c | 6 ++++--
5 files changed, 11 insertions(+), 9 deletions(-)
--
1.7.6.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] iproute2: ss - fix missing parameters
2011-10-06 12:45 [PATCH 0/3] iproute2: various usage and doc fixes Petr Sabata
@ 2011-10-06 12:45 ` Petr Sabata
2011-10-06 12:45 ` [PATCH 2/3] iproute2: lnstat - fix typos Petr Sabata
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Petr Sabata @ 2011-10-06 12:45 UTC (permalink / raw)
To: netdev; +Cc: Petr Sabata
Signed-off-by: Petr Sabata <contyk@redhat.com>
---
man/man8/ss.8 | 4 ++--
misc/ss.c | 6 ++++--
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/man/man8/ss.8 b/man/man8/ss.8
index b309df2..0b9a8c4 100644
--- a/man/man8/ss.8
+++ b/man/man8/ss.8
@@ -85,12 +85,12 @@ Display Unix domain sockets (alias for -f unix).
Display sockets of type FAMILY.
Currently the following families are supported: unix, inet, inet6, link, netlink.
.TP
-.B \-A QUERY, \-\-query=QUERY
+.B \-A QUERY, \-\-query=QUERY, \-\-socket=QUERY
List of socket tables to dump, separated by commas. The following identifiers
are understood: all, inet, tcp, udp, raw, unix, packet, netlink, unix_dgram,
unix_stream, packet_raw, packet_dgram.
.TP
-.B \-D FILE
+.B \-D FILE, \-\-diag=FILE
Do not display anything, just dump raw information about TCP sockets to FILE after applying filters. If FILE is - stdout is used.
.TP
.B \-F FILE, \-\-filter=FILE
diff --git a/misc/ss.c b/misc/ss.c
index 1597ff9..253f8d3 100644
--- a/misc/ss.c
+++ b/misc/ss.c
@@ -2416,9 +2416,10 @@ static void _usage(FILE *dest)
" -x, --unix display only Unix domain sockets\n"
" -f, --family=FAMILY display sockets of type FAMILY\n"
"\n"
-" -A, --query=QUERY\n"
+" -A, --query=QUERY, --socket=QUERY\n"
" QUERY := {all|inet|tcp|udp|raw|unix|packet|netlink}[,QUERY]\n"
"\n"
+" -D, --diag=FILE Dump raw information about TCP sockets to FILE\n"
" -F, --filter=FILE read filter information from FILE\n"
" FILTER := [ state TCP-STATE ] [ EXPRESSION ]\n"
);
@@ -2486,8 +2487,9 @@ static const struct option long_opts[] = {
{ "packet", 0, 0, '0' },
{ "family", 1, 0, 'f' },
{ "socket", 1, 0, 'A' },
+ { "query", 1, 0, 'A' },
{ "summary", 0, 0, 's' },
- { "diag", 0, 0, 'D' },
+ { "diag", 1, 0, 'D' },
{ "filter", 1, 0, 'F' },
{ "version", 0, 0, 'V' },
{ "help", 0, 0, 'h' },
--
1.7.6.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] iproute2: lnstat - fix typos
2011-10-06 12:45 [PATCH 0/3] iproute2: various usage and doc fixes Petr Sabata
2011-10-06 12:45 ` [PATCH 1/3] iproute2: ss - fix missing parameters Petr Sabata
@ 2011-10-06 12:45 ` Petr Sabata
2011-10-06 12:45 ` [PATCH 3/3] iproute2: arpd - fix usage and manpage options Petr Sabata
2011-10-06 15:25 ` [PATCH 0/3] iproute2: various usage and doc fixes Stephen Hemminger
3 siblings, 0 replies; 5+ messages in thread
From: Petr Sabata @ 2011-10-06 12:45 UTC (permalink / raw)
To: netdev; +Cc: Petr Sabata
Signed-off-by: Petr Sabata <contyk@redhat.com>
---
misc/lnstat.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/misc/lnstat.c b/misc/lnstat.c
index 32ab6a4..bd19cc1 100644
--- a/misc/lnstat.c
+++ b/misc/lnstat.c
@@ -45,7 +45,7 @@ static struct option opts[] = {
{ "file", 1, NULL, 'f' },
{ "help", 0, NULL, 'h' },
{ "interval", 1, NULL, 'i' },
- { "key", 1, NULL, 'k' },
+ { "keys", 1, NULL, 'k' },
{ "subject", 1, NULL, 's' },
{ "width", 1, NULL, 'w' },
};
@@ -61,7 +61,7 @@ static int usage(char *name, int exit_code)
fprintf(stderr, "\t-V --version\t\tPrint Version of Program\n");
fprintf(stderr, "\t-c --count <count>\t"
"Print <count> number of intervals\n");
- fprintf(stderr, "\t-d --dumpt\t\t"
+ fprintf(stderr, "\t-d --dump\t\t"
"Dump list of available files/keys\n");
fprintf(stderr, "\t-f --file <file>\tStatistics file to use\n");
fprintf(stderr, "\t-h --help\t\tThis help message\n");
--
1.7.6.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] iproute2: arpd - fix usage and manpage options
2011-10-06 12:45 [PATCH 0/3] iproute2: various usage and doc fixes Petr Sabata
2011-10-06 12:45 ` [PATCH 1/3] iproute2: ss - fix missing parameters Petr Sabata
2011-10-06 12:45 ` [PATCH 2/3] iproute2: lnstat - fix typos Petr Sabata
@ 2011-10-06 12:45 ` Petr Sabata
2011-10-06 15:25 ` [PATCH 0/3] iproute2: various usage and doc fixes Stephen Hemminger
3 siblings, 0 replies; 5+ messages in thread
From: Petr Sabata @ 2011-10-06 12:45 UTC (permalink / raw)
To: netdev; +Cc: Petr Sabata
Signed-off-by: Petr Sabata <contyk@redhat.com>
---
man/man8/arpd.8 | 4 ++--
misc/arpd.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/man/man8/arpd.8 b/man/man8/arpd.8
index d172600..37b6ba4 100644
--- a/man/man8/arpd.8
+++ b/man/man8/arpd.8
@@ -4,7 +4,7 @@
arpd \- userspace arp daemon.
.SH SYNOPSIS
-Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ]
+Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ]
.SH DESCRIPTION
The
@@ -34,7 +34,7 @@ Suppress sending broadcast queries by kernel. It takes sense together with optio
-n <TIME>
Timeout of negative cache. When resolution fails arpd suppresses further attempts to resolve for this period. It makes sense only together with option -k This timeout should not be too much longer than boot time of a typical host not supporting gratuitous ARP. Default value is 60 seconds.
.TP
--r <RATE>
+-R <RATE>
Maximal steady rate of broadcasts sent by arpd in packets per second. Default value is 1.
.TP
-B <NUMBER>
diff --git a/misc/arpd.c b/misc/arpd.c
index 128c49d..124d3fb 100644
--- a/misc/arpd.c
+++ b/misc/arpd.c
@@ -94,7 +94,7 @@ int broadcast_burst = 3000;
void usage(void)
{
fprintf(stderr,
-"Usage: arpd [ -lk ] [ -a N ] [ -b dbase ] [ -f file ] [ interfaces ]\n");
+"Usage: arpd [ -lkh? ] [ -a N ] [ -b dbase ] [ -B number ] [ -f file ] [ -n time ] [ -R rate ] [ interfaces ]\n");
exit(1);
}
--
1.7.6.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] iproute2: various usage and doc fixes
2011-10-06 12:45 [PATCH 0/3] iproute2: various usage and doc fixes Petr Sabata
` (2 preceding siblings ...)
2011-10-06 12:45 ` [PATCH 3/3] iproute2: arpd - fix usage and manpage options Petr Sabata
@ 2011-10-06 15:25 ` Stephen Hemminger
3 siblings, 0 replies; 5+ messages in thread
From: Stephen Hemminger @ 2011-10-06 15:25 UTC (permalink / raw)
To: Petr Sabata; +Cc: netdev
On Thu, 6 Oct 2011 14:45:31 +0200
Petr Sabata <contyk@redhat.com> wrote:
> Petr Sabata (3):
> iproute2: ss - fix missing parameters
> iproute2: lnstat - fix typos
> iproute2: arpd - fix usage and manpage options
>
> man/man8/arpd.8 | 4 ++--
> man/man8/ss.8 | 4 ++--
> misc/arpd.c | 2 +-
> misc/lnstat.c | 4 ++--
> misc/ss.c | 6 ++++--
> 5 files changed, 11 insertions(+), 9 deletions(-)
>
All applied.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-10-06 15:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-06 12:45 [PATCH 0/3] iproute2: various usage and doc fixes Petr Sabata
2011-10-06 12:45 ` [PATCH 1/3] iproute2: ss - fix missing parameters Petr Sabata
2011-10-06 12:45 ` [PATCH 2/3] iproute2: lnstat - fix typos Petr Sabata
2011-10-06 12:45 ` [PATCH 3/3] iproute2: arpd - fix usage and manpage options Petr Sabata
2011-10-06 15:25 ` [PATCH 0/3] iproute2: various usage and doc fixes Stephen Hemminger
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).