(pgids: list[int])
| 301 | |
| 302 | |
| 303 | def collect_process_group_pids(pgids: list[int]) -> set[int]: |
| 304 | proc_map = iter_proc_stat() |
| 305 | wanted = set(pgids) |
| 306 | return {pid for pid, (_ppid, pgid) in proc_map.items() if pgid in wanted} |
| 307 | |
| 308 | |
| 309 | def read_pss_mb(pid: int) -> float | None: |
no test coverage detected