]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephfs/vstart_runner: add -ww option to ps
authorDouglas Fuller <dfuller@redhat.com>
Mon, 8 Aug 2016 20:27:09 +0000 (13:27 -0700)
committerDouglas Fuller <dfuller@redhat.com>
Tue, 9 Aug 2016 13:19:14 +0000 (06:19 -0700)
vstart_runner can't find arguments to ceph daemons to identify them with
ps -x because commands are cut off at terminal width. Add -ww for wide
output.

Signed-off-by: Douglas Fuller <dfuller@redhat.com>
tasks/cephfs/vstart_runner.py

index effd2501acd8a280f725fcbd11261cc23dbd3d34..3d0c7da31bc81cf9da2012d45e848814176b6afc 100644 (file)
@@ -257,7 +257,7 @@ class LocalDaemon(object):
         Return PID as an integer or None if not found
         """
         ps_txt = self.controller.run(
-            args=["ps", "-xu"+str(os.getuid())]
+            args=["ps", "-xwwu"+str(os.getuid())]
         ).stdout.getvalue().strip()
         lines = ps_txt.split("\n")[1:]