author | Channappa BV<channappa.vakkalad@oracle.com> |
Wed, 20 Jul 2016 03:28:41 -0700 | |
branch | s11u3-sru |
changeset 6435 | c1b087ff0a7e |
parent 5296 | fe5e30c5a9ac |
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]