]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph: ps axf too before lsof
authorSage Weil <sage@redhat.com>
Tue, 24 Feb 2015 14:59:16 +0000 (06:59 -0800)
committerSage Weil <sage@redhat.com>
Tue, 24 Feb 2015 14:59:55 +0000 (06:59 -0800)
Specifically, I want to know *who* is running the ceph-osd that is
holding the files open.

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit a68281e1476e6af38237e1d1031dd7bd0980ef9f)

tasks/ceph.py

index afc32140f32fa78bf5bab09ee2b7a96bb4a37d0b..8998091168da34ddab1cd1adf23b75f30aeb2b74 100644 (file)
@@ -776,6 +776,8 @@ def cluster(ctx, config):
                     remote.run(args=[
                             'sudo',
                             run.Raw('PATH=/usr/sbin:$PATH'),
+                            'ps', 'auxf',
+                            run.Raw(';'),
                             'lsof'
                             ])
                     raise e