From 129a49ada12e8d4818dba43d68211773e627acf8 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 20 Dec 2012 15:31:21 -0800 Subject: [PATCH] cephtool: mention ceph osd ls, fix ceph osd tell N bench Add ceph osd ls to help; make help for ceph osd tell N bench look more like injectargs, which says to make it clear you can benchmark all osds simultaneously Signed-off-by: Dan Mick --- src/test/cli/ceph/help.t | 3 ++- src/tools/ceph.cc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/cli/ceph/help.t b/src/test/cli/ceph/help.t index a92eb7ca943..c8d6fa7556c 100644 --- a/src/test/cli/ceph/help.t +++ b/src/test/cli/ceph/help.t @@ -29,6 +29,7 @@ OBJECT STORAGE DEVICE (OSD) COMMANDS ceph osd dump [--format=json] + ceph osd ls [--format=json] ceph osd tree ceph osd map ceph osd down @@ -60,7 +61,7 @@ ceph osd scrub ceph osd deep-scrub ceph osd repair - ceph osd tell N bench [bytes per write] [total bytes] + ceph osd tell bench [bytes per write] [total bytes] PLACEMENT GROUP (PG) COMMANDS ceph pg dump diff --git a/src/tools/ceph.cc b/src/tools/ceph.cc index 5dab98f0d26..d5300e69bdd 100644 --- a/src/tools/ceph.cc +++ b/src/tools/ceph.cc @@ -72,6 +72,7 @@ static void usage() cout << "\n"; cout << "OBJECT STORAGE DEVICE (OSD) COMMANDS\n"; cout << " ceph osd dump [--format=json]\n"; + cout << " ceph osd ls [--format=json]\n"; cout << " ceph osd tree\n"; cout << " ceph osd map \n"; cout << " ceph osd down \n"; @@ -103,7 +104,7 @@ static void usage() cout << " ceph osd scrub \n"; cout << " ceph osd deep-scrub \n"; cout << " ceph osd repair \n"; - cout << " ceph osd tell N bench [bytes per write] [total bytes]\n"; + cout << " ceph osd tell bench [bytes per write] [total bytes]\n"; cout << "\n"; cout << "PLACEMENT GROUP (PG) COMMANDS\n"; cout << " ceph pg dump\n";