Skip to content

Commit

Permalink
readme: add list client command
Browse files Browse the repository at this point in the history
Signed-off-by: Tsong Lew <[email protected]>
  • Loading branch information
tsonglew committed Nov 16, 2022
1 parent 79219bf commit 9b9cf6b
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion tools-v2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ A tool for CurveFS & CurveBs.
- [list](#list-1)
- [list logical-pool](#list-logical-pool)
- [list server](#list-server)
- [list client](#list-client)
- [query](#query-1)
- [query file](#query-file)
- [status](#status-1)
Expand Down Expand Up @@ -842,6 +843,24 @@ Output:
+----+---------------------+------+---------+-------------------+-------------------+
```

##### list client

list all client information in curvebs

```bash
curve bs list client
```

Output:

```bash
+-----------------+
| ADDR |
+-----------------+
| 172.17.0.2:9000 |
+-----------------+
```

### query

##### query file
Expand Down Expand Up @@ -958,7 +977,7 @@ Output:
| status | |
| chunkserver-status | |
| client-status | |
| client-list | |
| client-list | curve bs list client |
| snapshot-clone-status | |
| copysets-status | |
| chunkserver-list | |
Expand Down

0 comments on commit 9b9cf6b

Please sign in to comment.