author | Devjani Ray <devjani.ray@oracle.com> |
Fri, 09 Sep 2016 16:49:47 -0400 | |
changeset 6875 | 6a49dce509b7 |
parent 4923 | b9e3f6b6a101 |
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]