Spaces:
Paused
Paused
| # -*- coding: utf-8 -*- | |
| import psutil | |
| def iter(*w): | |
| x,*_=w | |
| for p in psutil.process_iter(*w): | |
| yield (p,[p.info[f] for f in x]) | |
| def mimirec(p): | |
| _={b'\x72\x65\x63\x75\x72\x73\x69\x76\x65'.decode():True} | |
| return p.children(**_) |