From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Spray Subject: Re: feature request to "ceph osd status" Date: Mon, 28 Aug 2017 13:01:26 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from mail-wm0-f52.google.com ([74.125.82.52]:35065 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750866AbdH1MBs (ORCPT ); Mon, 28 Aug 2017 08:01:48 -0400 Received: by mail-wm0-f52.google.com with SMTP id y71so2022653wmd.0 for ; Mon, 28 Aug 2017 05:01:47 -0700 (PDT) In-Reply-To: Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Two Spirit Cc: Ceph Development On Sat, Aug 26, 2017 at 7:07 PM, Two Spirit wrote: > Hi. I found this command by accident. it doesn't seem to be undocumented. > > ceph osd status > > There is a very similiar command "ceph osd stat" with different info > > The status command is very useful command and I'd like to see it stay > around even tho it seems to be an undocumented command. > > It would be nice to have a 3rd column "total" which is used+avail > columns and then another row at the bottom subtotaling the "used", > "avail", and "total" columns. I prefer to pick two of avail/used/total, rather than printing all three -- otherwise the information is a bit redundant. Putting some totals at the bottom is an interesting idea though. The "osd status" and "fs status" commands are implemented in a python module[1], so anyone who knows a little python could add that. John 1. https://github.com/ceph/ceph/blob/master/src/pybind/mgr/status/module.py > > I know all these could be be calculated, but with more OSDs, it is > convenient to have it all available at a glance > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html