Skip to content

Commit

Permalink
docs: add side flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hengyoush committed Nov 9, 2024
1 parent 79ea80b commit 3440658
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/cn/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ kyanos 支持根据 IP 端口等三/四层信息过滤,可以指定以下选
| 连接的本地端口 | `local-ports` | `--local-ports 6379,16379` <br> 只观察本地端口为6379和16379的连接上的请求响应 |
| 连接的远程端口 | `remote-ports` | `--remote-ports 6379,16379` <br> 只观察远程端口为6379和16379的连接上的请求响应 |
| 连接的远程ip | `remote-ips` | `--remote-ips 10.0.4.5,10.0.4.2` <br> 只观察远程ip为10.0.4.5和10.0.4.2的连接上的请求响应 |
| 客户端/服务端 | `side` | `--side client/server` <br> 只观察作为客户端发起连接/作为服务端接收连接时的请求响应 |


### 根据进程/容器过滤 {#filter-by-container}
Expand Down
1 change: 1 addition & 0 deletions docs/watch.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ Below are the ways to use `kyanos` options to filter request-responses you're in
| Local Connection Ports | `local-ports` | `--local-ports 6379,16379` <br> Only observe request-responses on local ports 6379 and 16379. |
| Remote Connection Ports | `remote-ports` | `--remote-ports 6379,16379` <br> Only observe request-responses on remote ports 6379 and 16379. |
| Remote IP Addresses | `remote-ips` | `--remote-ips 10.0.4.5,10.0.4.2` <br> Only observe request-responses from remote IPs 10.0.4.5 and 10.0.4.2. |
| Client/Server side | `side` | `--side client/server` <br> Only observe requests and responses when acting as a client initiating connections or as a server receiving connections. |

### Filtering by Process/Container {#filter-by-container}

Expand Down

0 comments on commit 3440658

Please sign in to comment.