]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/vstart_runner: amend ps invocation
authorIlya Dryomov <idryomov@gmail.com>
Thu, 30 Mar 2017 16:59:08 +0000 (18:59 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Thu, 30 Mar 2017 17:36:43 +0000 (19:36 +0200)
commit8d8cd4e4d5c153641b47ffc0232e0c27cc9b659a
treed91ab7f9cc42c868c6c404544f34f704ba11ceaf
parent4c8ec8a2c332b66534b18494731f3b582e73ed4b
qa/vstart_runner: amend ps invocation

"ps -xwwu<id>" is parsed as BSD, because -x is not a UNIX option.
"u" is a BSD option for user-oriented format, so the <id> ends up being
parsed as an old-style "select by pid".  The only reason this command
doesn't dump other user's processes is that the BSD "only yourself"
restriction is in effect.

I'm not sure what's wrong with a simple "ps xww", but if we want to
select by euid, let's do it right.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
qa/tasks/vstart_runner.py