aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuryalekseev <yuryalekseev@yandex-team.com>2022-12-29 15:48:31 +0300
committeryuryalekseev <yuryalekseev@yandex-team.com>2022-12-29 15:48:31 +0300
commit7d154606d1d5e5ef2a0ee327e515df9099474cfb (patch)
tree14cf6cb6729961061f138fd5f200d05da980717f
parente718be7eba95480bf6a909f927e98a8c89fb2263 (diff)
downloadydb-7d154606d1d5e5ef2a0ee327e515df9099474cfb.tar.gz
Add descriptions for --human-readable and --show-vdisk-estimated-usage.
-rw-r--r--ydb/apps/dstool/README.md18
1 files changed, 17 insertions, 1 deletions
diff --git a/ydb/apps/dstool/README.md b/ydb/apps/dstool/README.md
index 9e72c213ca2..7c728fa05e7 100644
--- a/ydb/apps/dstool/README.md
+++ b/ydb/apps/dstool/README.md
@@ -140,6 +140,15 @@ ydb-dstool -e ydbd.endpoint pdisk list --sort-by FQDN
The above command lists pdisks sorted by the ```FQDN``` column.
+### Output in a human-readable way
+
+To output sizes in terms of kilobytes, megabytes, etc. and fractions in terms of percents add ```--human-readable```
+or ```-H``` to command options:
+
+```
+ydb-dstool -e ydbd.endpoint pdisk list --show-pdisk-usage -H
+```
+
## Do things with pdisks
### List pdisks
@@ -355,7 +364,14 @@ The above command lists all pools of a cluster along with their space usage in a
### Show estimated space usage of pools
-TODO
+```
+ydb-dstool -e ydbd.endpoint pool list --show-vdisk-estimated-usage
+```
+
+The above command shows:
+
+* ```GroupsForEstimatedUsage@85``` - how many groups are neccessary to make disk usage at about 85 percent.
+* ```EstimatedUsage``` - TODO
## Do things with boxes