Hi Zhu Qiang, Unless I am mistaken, it looks like the command “dump_ops_in_flight” is only available as an admin-socket command: https://github.com/ceph/ceph/blob/master/src/osd/OSD.cc#L1371-L1373 The commands available to ceph-rest-api are, to my knowledge, usually declared like so: https://github.com/ceph/ceph/blob/master/src/mon/MonCommands.h I put the ceph-devel mailing list in copy, perhaps someone else knows if there is another way to retrieve that information. -- David Moreau Simard On Jul 24, 2014, at 4:48 AM, zhu qiang <zhu_qiang_ws@xxxxxxxxxxx> wrote: > Hello Mr. Simard > > > 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 ,but I did not get the right respone. > > Best regarding. > > > ��.n��������+%������w��{.n����z��u���ܨ}���Ơz�j:+v�����w����ޙ��&�)ߡ�a����z�ޗ���ݢj��w�f