It doesn't currently support that. ceph-rest-api only wraps commands that are sent to the mon cluster, whereas the "ceph daemon" operations use the local admin socket (/var/run/ceph/*.asok) of the service. There has been some discussion of enabling calls to admin socket operations via the mon though. John On Thu, Jul 24, 2014 at 9:20 AM, zhu qiang <zhu_qiang_ws at foxmail.com> wrote: > Hi all, > > I want to use ceph-rest-api to view some debug details from ceph daemons. > On linux shell I can get this message from below: > # ceph daemon osd.0 dump_ops_in_flight | python -m json.tool > { "num_ops": 0, > "ops": []} > > This is my question? > Can I get this output from ceph-rest-api ? > > Until now I tried some method : curl, python-cephclient > I did not get the right respone. > Can some guys help me ? > > > > > > _______________________________________________ > ceph-users mailing list > ceph-users at lists.ceph.com > http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com