Interactive/Watch ceph -s/-w/status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Previous to Luminous you could run 'ceph -w' and get a continues output
of how the cluster is performing. You would get IOps and such.

To get this done with Luminous you need to do something like:

$ watch ceph -s

Although this works it is less efficient then -w used to be:

1. Spawn Python interpreter
2. Create connection with the MON(s)
3. Fetch OSDMap
4. Fetch statistics

And do this all every 2 seconds (or which interval you set).

So I was thinking about this:

$ ceph -s <interval>

If you provide a interval the process will not exit but it will refresh
the screen every X seconds while keeping the Python interpreter live and
also keep the MON connection imitated.

It's actually just running the mon command 'status' every X seconds and
refreshing the screen.

Although we have the 'iostat' Mgr module in Mimic it doesn't do exactly
the same as status does.

I think it's the status Mgr Module which is responsible for this, isn't it?

Wido
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux