Antoni Segura Puimedon has posted comments on this change.
Change subject: utils: Extend pgrep to accept multiple process names ......................................................................
Patch Set 1:
(1 comment)
http://gerrit.ovirt.org/#/c/23239/1/lib/vdsm/utils.py File lib/vdsm/utils.py:
Line 264: pid = os.path.basename(path) Line 265: yield int(pid) Line 266: Line 267: Line 268: def pgrep(*names): I think it could use a docstring now. Line 269: res = [] Line 270: for pid in iteratePids(): Line 271: try: Line 272: procName = pidStat(pid).comm