Commit ff041f16 authored by Vadim Kochan's avatar Vadim Kochan Committed by Stephen Hemminger

ss: Usage filter state names, options alignment

Signed-off-by: default avatarVadim Kochan <vadim4j@gmail.com>
parent ace5cb31
...@@ -3223,7 +3223,13 @@ static void _usage(FILE *dest) ...@@ -3223,7 +3223,13 @@ static void _usage(FILE *dest)
"\n" "\n"
" -D, --diag=FILE Dump raw information about TCP sockets to FILE\n" " -D, --diag=FILE Dump raw information about TCP sockets to FILE\n"
" -F, --filter=FILE read filter information from FILE\n" " -F, --filter=FILE read filter information from FILE\n"
" FILTER := [ state TCP-STATE ] [ EXPRESSION ]\n" " FILTER := [ state STATE-FILTER ] [ EXPRESSION ]\n"
" STATE-FILTER := {all|connected|synchronized|bucket|big|TCP-STATES}\n"
" TCP-STATES := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|closed|close-wait|last-ack|listen|closing}\n"
" connected := {established|syn-sent|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\n"
" synchronized := {established|syn-recv|fin-wait-{1,2}|time-wait|close-wait|last-ack|closing}\n"
" bucket := {syn-recv|time-wait}\n"
" big := {established|syn-sent|fin-wait-{1,2}|closed|close-wait|last-ack|listen|closing}\n"
); );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment