Skip to content

Commit

Permalink
pd-ctl: add topsize command and change the default value of limit to …
Browse files Browse the repository at this point in the history
…16 (#627)

* update the go version

* add topsize command; change the default value of the limit to 16
  • Loading branch information
liukun4515 authored and ngaut committed Sep 27, 2018
1 parent f7365bc commit afcbfd9
Showing 1 changed file with 23 additions and 8 deletions.
31 changes: 23 additions & 8 deletions tools/pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -463,60 +463,75 @@ Usage:
### `region topread [limit]`
Use this command to list Regions with top read flow. The default value of the limit is 10.
Use this command to list Regions with top read flow. The default value of the limit is 16.
Usage:
```bash
>> region topread
{
"count": 10,
"count": 16,
"regions": [......],
}
```
### `region topwrite [limit]`
Use this command to list Regions with top write flow. The default value of the limit is 10.
Use this command to list Regions with top write flow. The default value of the limit is 16.
Usage:
```bash
>> region topwrite
{
"count": 10,
"count": 16,
"regions": [......],
}
```
### `region topconfver [limit]`
Use this command to list Regions with top conf version. The default value of the limit is 10.
Use this command to list Regions with top conf version. The default value of the limit is 16.
Usage:
```bash
>> region topconfver
{
"count": 10,
"count": 16,
"regions": [......],
}
```
### `region topversion [limit]`
Use this command to list Regions with top version. The default value of the limit is 10.
Use this command to list Regions with top version. The default value of the limit is 16.
Usage:
```bash
>> region topversion
{
"count": 10,
"count": 16,
"regions": [......],
}
```
### `region topsize [limit]`
Use this command to list Regions with top approximate size. The default value of the limit is 16.
Usage:
```bash
>> region topsize
{
"count": 16,
"regions": [......],
}
```
### `region check [miss-peer | extra-peer | down-peer | pending-peer | incorrect-ns]`
Use this command to check the Regions in abnormal conditions.
Expand Down

0 comments on commit afcbfd9

Please sign in to comment.