diff options
-rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 | ||||
-rw-r--r-- | meta/lib/oeqa/utils/qemutinyrunner.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index 01cbf52b8b..519aa9aa1e 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
@@ -264,7 +264,7 @@ class QemuRunner: | |||
264 | % (self.runqemu.poll(), os.path.isfile(self.qemu_pidfile), str(qemu_pid), os.path.exists("/proc/" + str(qemu_pid)))) | 264 | % (self.runqemu.poll(), os.path.isfile(self.qemu_pidfile), str(qemu_pid), os.path.exists("/proc/" + str(qemu_pid)))) |
265 | 265 | ||
266 | # Dump all processes to help us to figure out what is going on... | 266 | # Dump all processes to help us to figure out what is going on... |
267 | ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,command '], stdout=subprocess.PIPE).communicate()[0] | 267 | ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,pri,ni,command '], stdout=subprocess.PIPE).communicate()[0] |
268 | processes = ps.decode("utf-8") | 268 | processes = ps.decode("utf-8") |
269 | self.logger.debug("Running processes:\n%s" % processes) | 269 | self.logger.debug("Running processes:\n%s" % processes) |
270 | self._dump_host() | 270 | self._dump_host() |
diff --git a/meta/lib/oeqa/utils/qemutinyrunner.py b/meta/lib/oeqa/utils/qemutinyrunner.py index 364005bd2d..5c92941c0a 100644 --- a/meta/lib/oeqa/utils/qemutinyrunner.py +++ b/meta/lib/oeqa/utils/qemutinyrunner.py | |||
@@ -138,7 +138,7 @@ class QemuTinyRunner(QemuRunner): | |||
138 | # | 138 | # |
139 | # Walk the process tree from the process specified looking for a qemu-system. Return its [pid'cmd] | 139 | # Walk the process tree from the process specified looking for a qemu-system. Return its [pid'cmd] |
140 | # | 140 | # |
141 | ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,command'], stdout=subprocess.PIPE).communicate()[0] | 141 | ps = subprocess.Popen(['ps', 'axww', '-o', 'pid,ppid,pri,ni,command'], stdout=subprocess.PIPE).communicate()[0] |
142 | processes = ps.decode("utf-8").split('\n') | 142 | processes = ps.decode("utf-8").split('\n') |
143 | nfields = len(processes[0].split()) - 1 | 143 | nfields = len(processes[0].split()) - 1 |
144 | pids = {} | 144 | pids = {} |