summaryrefslogtreecommitdiff
path: root/src/mon/MonCommands.h
diff options
context:
space:
mode:
authorJoao Eduardo Luis <joao.luis@inktank.com>2013-09-13 16:58:37 +0100
committerJoao Eduardo Luis <joao.luis@inktank.com>2013-09-13 17:02:17 +0100
commitdb1eb640cf54176f44df4bab064bdaef36d96a64 (patch)
tree0f732e8de6bae0b882f0b761c8e434cc2c3455fc /src/mon/MonCommands.h
parent9a20a8fecedea2a8dfc7d37b25d16105d1965e30 (diff)
downloadceph-wip-6147.tar.gz
mon: OSDMonitor: add 'osd pool stats' commandwip-6147
Fixes: #6741 Signed-off-by: Joao Eduardo Luis <joao.luis@inktank.com>
Diffstat (limited to 'src/mon/MonCommands.h')
-rw-r--r--src/mon/MonCommands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h
index 28fa80e00b7..520644d014c 100644
--- a/src/mon/MonCommands.h
+++ b/src/mon/MonCommands.h
@@ -508,6 +508,10 @@ COMMAND("osd pool set-quota " \
"name=field,type=CephChoices,strings=max_objects|max_bytes " \
"name=val,type=CephString",
"set object or byte limit on pool", "osd", "rw", "cli,rest")
+COMMAND("osd pool stats " \
+ "name=name,type=CephString,req=false",
+ "obtain stats from all pools, or from specified pool",
+ "osd", "r", "cli,rest")
COMMAND("osd reweight-by-utilization " \
"name=oload,type=CephInt,range=100,req=false", \
"reweight OSDs by utilization [overload-percentage-for-consideration, default 120]", \