From: Douglas Fuller Date: Mon, 8 Aug 2016 20:27:09 +0000 (-0700) Subject: cephfs/vstart_runner: add -ww option to ps X-Git-Tag: v11.1.1~58^2^2~130^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e01ff2e3c11e68cbf4b0b19210b48b16a317cf4d;p=ceph.git cephfs/vstart_runner: add -ww option to ps 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 --- diff --git a/tasks/cephfs/vstart_runner.py b/tasks/cephfs/vstart_runner.py index effd2501acd..3d0c7da31bc 100644 --- a/tasks/cephfs/vstart_runner.py +++ b/tasks/cephfs/vstart_runner.py @@ -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:]