author | Jiri Sasek <Jiri.Sasek@Oracle.COM> |
Wed, 13 Jan 2016 06:39:34 -0800 | |
branch | s11u3-sru |
changeset 5296 | fe5e30c5a9ac |
parent 3935 | 177c89f1f2cf |
permissions | -rw-r--r-- |
source: in-house "de-linuxize" the ps args --- a/base/utils.py 2014-06-02 23:33:10.000000000 -0700 +++ b/base/utils.py 2014-07-01 13:44:00.526366599 -0700 @@ -2214,7 +2214,7 @@ try: process = {} - p1 = Popen(["ps", "-w", "-w", "aux"], stdout=PIPE) + p1 = Popen(["ps", "-ef"], stdout=PIPE) p2 = Popen(["grep", process_name], stdin=p1.stdout, stdout=PIPE) p3 = Popen(["grep", "-v", "grep"], stdin=p2.stdout, stdout=PIPE) output = p3.communicate()[0]