Browse Source
Merge pull request #2218 from plbin97/document-update
update the document about ss-manager
pull/2223/head
Max Lv
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
doc/ss-manager.asciidoc
|
@ -141,12 +141,14 @@ To add a port: :::: |
|
|
To remove a port: :::: |
|
|
To remove a port: :::: |
|
|
remove: {"server_port": 8001} |
|
|
remove: {"server_port": 8001} |
|
|
|
|
|
|
|
|
To receive a pong: :::: |
|
|
|
|
|
|
|
|
To receive the traffic statistics: :::: |
|
|
ping |
|
|
ping |
|
|
|
|
|
|
|
|
Then `ss-manager`(1) will send back the traffic statistics: :::: |
|
|
|
|
|
|
|
|
The format of the traffic statistics: :::: |
|
|
stat: {"8001":11370} |
|
|
stat: {"8001":11370} |
|
|
|
|
|
|
|
|
|
|
|
There is no way to reset the traffic statistics, unless you remove the port and add it again |
|
|
|
|
|
|
|
|
EXAMPLE |
|
|
EXAMPLE |
|
|
------- |
|
|
------- |
|
|
To use `ss-manager`(1), First start it and specify necessary information. |
|
|
To use `ss-manager`(1), First start it and specify necessary information. |
|
|